[][src]Struct mavlink::MavHeader

pub struct MavHeader {
    pub system_id: u8,
    pub component_id: u8,
    pub sequence: u8,
}

Metadata from a MAVLink packet header

Fields

system_id: u8component_id: u8sequence: u8

Trait Implementations

impl Clone for MavHeader[src]

impl Copy for MavHeader[src]

impl Debug for MavHeader[src]

impl Default for MavHeader[src]

Return a default GCS header, seq is replaced by the connector so it can be ignored. Set component_id to your desired component ID.

impl<'de> Deserialize<'de> for MavHeader[src]

impl Eq for MavHeader[src]

impl PartialEq<MavHeader> for MavHeader[src]

impl Serialize for MavHeader[src]

impl StructuralEq for MavHeader[src]

impl StructuralPartialEq for MavHeader[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.