pub struct Stated {
pub apogee_m: Option<f64>,
pub ground_elevation_msl_m: Option<f64>,
pub samples: Option<usize>,
pub figures: Vec<Figure>,
}Expand description
What a flight log states about the flight, in SI.
Fields§
§apogee_m: Option<f64>The apogee the logger computed, m above its own zero; None if the file states none, or
states something that isn’t a height, such as a PerfectFlite’s PWRLOSS.
ground_elevation_msl_m: Option<f64>The launch site’s elevation, m above mean sea level, as the logger states it.
samples: Option<usize>How many samples the file says it holds.
figures: Vec<Figure>Every figure a summary file states, in the file’s order, such as a Featherweight
summary’s Max velocity,500.50 feet/sec, and a GPX file’s waypoints and route points,
places marked or planned, not flown (crate::gpx); empty for a file of samples, and then
left out of the record’s JSON, so that a record written before the field was reads the
same.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Stated
impl<'de> Deserialize<'de> for Stated
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 Stated
impl JsonSchema for Stated
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 Stated
Auto Trait Implementations§
impl Freeze for Stated
impl RefUnwindSafe for Stated
impl Send for Stated
impl Sync for Stated
impl Unpin for Stated
impl UnsafeUnpin for Stated
impl UnwindSafe for Stated
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