Struct e_drone::protocol::Count[][src]

pub struct Count {
    pub time_system: u32,
    pub time_flight: u32,
    pub count_takeoff: u16,
    pub count_landing: u16,
    pub count_accident: u16,
}

Fields

time_system: u32time_flight: u32count_takeoff: u16count_landing: u16count_accident: u16

Implementations

impl Count[src]

pub fn new() -> Count[src]

pub const fn size() -> usize[src]

pub fn parse(slice_data: &[u8]) -> Result<Count, &'static str>[src]

Trait Implementations

impl Clone for Count[src]

impl Copy for Count[src]

impl Debug for Count[src]

impl Serializable for Count[src]

Auto Trait Implementations

impl RefUnwindSafe for Count

impl Send for Count

impl Sync for Count

impl Unpin for Count

impl UnwindSafe for Count

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.