pub struct FlightEvent {
pub kind: EventKind,
pub sample: Sample,
}Expand description
An event and the flight’s sample at it.
Fields§
§kind: EventKindWhat happened.
sample: SampleThe flight at that instant.
Trait Implementations§
Source§impl Clone for FlightEvent
impl Clone for FlightEvent
Source§fn clone(&self) -> FlightEvent
fn clone(&self) -> FlightEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FlightEvent
Source§impl Debug for FlightEvent
impl Debug for FlightEvent
Source§impl<'de> Deserialize<'de> for FlightEvent
impl<'de> Deserialize<'de> for FlightEvent
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 PartialEq for FlightEvent
impl PartialEq for FlightEvent
Source§fn eq(&self, other: &FlightEvent) -> bool
fn eq(&self, other: &FlightEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FlightEvent
impl Serialize for FlightEvent
impl StructuralPartialEq for FlightEvent
Auto Trait Implementations§
impl Freeze for FlightEvent
impl RefUnwindSafe for FlightEvent
impl Send for FlightEvent
impl Sync for FlightEvent
impl Unpin for FlightEvent
impl UnsafeUnpin for FlightEvent
impl UnwindSafe for FlightEvent
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