pub struct Pad {
pub latitude_deg: Option<f64>,
pub longitude_deg: Option<f64>,
pub height_m: Option<f64>,
pub height_stated: bool,
pub from: PadFrom,
pub first_fix_after_liftoff_s: Option<f64>,
}Expand description
The pad: the frame’s origin.
Fields§
§latitude_deg: Option<f64>Latitude, degrees north; None when no log holds a place.
longitude_deg: Option<f64>Longitude, degrees east; None when no log holds a place.
height_m: Option<f64>The pad’s height, m: the caller’s above the ellipsoid, or else the receiver’s, most often
above sea level, from fixes before liftoff or the first fix. Files draw it as if above the
ellipsoid (module docs). None when no one states it.
height_stated: boolWhether the caller stated Pad::height_m, rather than a receiver.
from: PadFromWhere the place came from.
first_fix_after_liftoff_s: Option<f64>For PadFrom::FirstFix, how long after liftoff that fix was, s; None when it wasn’t
after, or no liftoff is known.
Trait Implementations§
impl Copy for Pad
Source§impl<'de> Deserialize<'de> for Pad
impl<'de> Deserialize<'de> for Pad
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for Pad
impl JsonSchema for Pad
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for Pad
Auto Trait Implementations§
impl Freeze for Pad
impl RefUnwindSafe for Pad
impl Send for Pad
impl Sync for Pad
impl Unpin for Pad
impl UnsafeUnpin for Pad
impl UnwindSafe for Pad
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more