[][src]Struct mavlink::common::STORAGE_INFORMATION_DATA

pub struct STORAGE_INFORMATION_DATA {
    pub time_boot_ms: u32,
    pub total_capacity: f32,
    pub used_capacity: f32,
    pub available_capacity: f32,
    pub read_speed: f32,
    pub write_speed: f32,
    pub storage_id: u8,
    pub storage_count: u8,
    pub status: StorageStatus,
}

id: 261 Information about a storage medium. This message is sent in response to a request and whenever the status of the storage changes (STORAGE_STATUS)..

Fields

time_boot_ms: u32

id: 261 Information about a storage medium. This message is sent in response to a request and whenever the status of the storage changes (STORAGE_STATUS)..

total_capacity: f32

id: 261 Information about a storage medium. This message is sent in response to a request and whenever the status of the storage changes (STORAGE_STATUS)..

used_capacity: f32

id: 261 Information about a storage medium. This message is sent in response to a request and whenever the status of the storage changes (STORAGE_STATUS)..

available_capacity: f32

id: 261 Information about a storage medium. This message is sent in response to a request and whenever the status of the storage changes (STORAGE_STATUS)..

read_speed: f32

id: 261 Information about a storage medium. This message is sent in response to a request and whenever the status of the storage changes (STORAGE_STATUS)..

write_speed: f32

id: 261 Information about a storage medium. This message is sent in response to a request and whenever the status of the storage changes (STORAGE_STATUS)..

storage_id: u8

id: 261 Information about a storage medium. This message is sent in response to a request and whenever the status of the storage changes (STORAGE_STATUS)..

storage_count: u8

id: 261 Information about a storage medium. This message is sent in response to a request and whenever the status of the storage changes (STORAGE_STATUS)..

status: StorageStatus

id: 261 Information about a storage medium. This message is sent in response to a request and whenever the status of the storage changes (STORAGE_STATUS)..

Implementations

impl STORAGE_INFORMATION_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 STORAGE_INFORMATION_DATA[src]

impl Debug for STORAGE_INFORMATION_DATA[src]

impl Default for STORAGE_INFORMATION_DATA[src]

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

impl PartialEq<STORAGE_INFORMATION_DATA> for STORAGE_INFORMATION_DATA[src]

impl Serialize for STORAGE_INFORMATION_DATA[src]

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