Struct mavlink::common::SMART_BATTERY_INFO_DATA
source · [−]pub struct SMART_BATTERY_INFO_DATA {
pub capacity_full_specification: i32,
pub capacity_full: i32,
pub serial_number: i32,
pub cycle_count: u16,
pub weight: u16,
pub discharge_minimum_voltage: u16,
pub charging_minimum_voltage: u16,
pub resting_minimum_voltage: u16,
pub id: u8,
pub device_name: Vec<char>,
}
Fields
capacity_full_specification: i32
capacity_full: i32
serial_number: i32
cycle_count: u16
weight: u16
discharge_minimum_voltage: u16
charging_minimum_voltage: u16
resting_minimum_voltage: u16
id: u8
device_name: Vec<char>
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SMART_BATTERY_INFO_DATA
impl Send for SMART_BATTERY_INFO_DATA
impl Sync for SMART_BATTERY_INFO_DATA
impl Unpin for SMART_BATTERY_INFO_DATA
impl UnwindSafe for SMART_BATTERY_INFO_DATA
Blanket Implementations
Mutably borrows from an owned value. Read more