[][src]Struct mavlink::common::UAVCAN_NODE_STATUS_DATA

pub struct UAVCAN_NODE_STATUS_DATA {
    pub time_usec: u64,
    pub uptime_sec: u32,
    pub vendor_specific_status_code: u16,
    pub health: UavcanNodeHealth,
    pub mode: UavcanNodeMode,
    pub sub_mode: u8,
}

id: 310 General status information of an UAVCAN node. Please refer to the definition of the UAVCAN message "uavcan.protocol.NodeStatus" for the background information. The UAVCAN specification is available at http://uavcan.org..

Fields

time_usec: u64

id: 310 General status information of an UAVCAN node. Please refer to the definition of the UAVCAN message "uavcan.protocol.NodeStatus" for the background information. The UAVCAN specification is available at http://uavcan.org..

uptime_sec: u32

id: 310 General status information of an UAVCAN node. Please refer to the definition of the UAVCAN message "uavcan.protocol.NodeStatus" for the background information. The UAVCAN specification is available at http://uavcan.org..

vendor_specific_status_code: u16

id: 310 General status information of an UAVCAN node. Please refer to the definition of the UAVCAN message "uavcan.protocol.NodeStatus" for the background information. The UAVCAN specification is available at http://uavcan.org..

health: UavcanNodeHealth

id: 310 General status information of an UAVCAN node. Please refer to the definition of the UAVCAN message "uavcan.protocol.NodeStatus" for the background information. The UAVCAN specification is available at http://uavcan.org..

mode: UavcanNodeMode

id: 310 General status information of an UAVCAN node. Please refer to the definition of the UAVCAN message "uavcan.protocol.NodeStatus" for the background information. The UAVCAN specification is available at http://uavcan.org..

sub_mode: u8

id: 310 General status information of an UAVCAN node. Please refer to the definition of the UAVCAN message "uavcan.protocol.NodeStatus" for the background information. The UAVCAN specification is available at http://uavcan.org..

Implementations

impl UAVCAN_NODE_STATUS_DATA[src]

pub const ENCODED_LEN: usize[src]

pub fn deser(
    version: MavlinkVersion,
    _input: &[u8]
) -> Result<Self, ParserError>
[src]

pub fn ser(&self) -> Vec<u8>[src]

Trait Implementations

impl Clone for UAVCAN_NODE_STATUS_DATA[src]

impl Debug for UAVCAN_NODE_STATUS_DATA[src]

impl Default for UAVCAN_NODE_STATUS_DATA[src]

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

impl PartialEq<UAVCAN_NODE_STATUS_DATA> for UAVCAN_NODE_STATUS_DATA[src]

impl Serialize for UAVCAN_NODE_STATUS_DATA[src]

impl StructuralPartialEq for UAVCAN_NODE_STATUS_DATA[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.