Struct mavlink::uavionix::ONBOARD_COMPUTER_STATUS_DATA
source · pub struct ONBOARD_COMPUTER_STATUS_DATA {Show 20 fields
pub time_usec: u64,
pub uptime: u32,
pub ram_usage: u32,
pub ram_total: u32,
pub storage_type: [u32; 4],
pub storage_usage: [u32; 4],
pub storage_total: [u32; 4],
pub link_type: [u32; 6],
pub link_tx_rate: [u32; 6],
pub link_rx_rate: [u32; 6],
pub link_tx_max: [u32; 6],
pub link_rx_max: [u32; 6],
pub fan_speed: [i16; 4],
pub mavtype: u8,
pub cpu_cores: [u8; 8],
pub cpu_combined: [u8; 10],
pub gpu_cores: [u8; 4],
pub gpu_combined: [u8; 10],
pub temperature_board: i8,
pub temperature_core: [i8; 8],
}
Fields§
§time_usec: u64
§uptime: u32
§ram_usage: u32
§ram_total: u32
§storage_type: [u32; 4]
§storage_usage: [u32; 4]
§storage_total: [u32; 4]
§link_type: [u32; 6]
§link_tx_rate: [u32; 6]
§link_rx_rate: [u32; 6]
§link_tx_max: [u32; 6]
§link_rx_max: [u32; 6]
§fan_speed: [i16; 4]
§mavtype: u8
§cpu_cores: [u8; 8]
§cpu_combined: [u8; 10]
§gpu_cores: [u8; 4]
§gpu_combined: [u8; 10]
§temperature_board: i8
§temperature_core: [i8; 8]
Implementations§
source§impl ONBOARD_COMPUTER_STATUS_DATA
impl ONBOARD_COMPUTER_STATUS_DATA
pub const ENCODED_LEN: usize = 238usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for ONBOARD_COMPUTER_STATUS_DATA
impl Clone for ONBOARD_COMPUTER_STATUS_DATA
source§fn clone(&self) -> ONBOARD_COMPUTER_STATUS_DATA
fn clone(&self) -> ONBOARD_COMPUTER_STATUS_DATA
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ONBOARD_COMPUTER_STATUS_DATA
impl Debug for ONBOARD_COMPUTER_STATUS_DATA
source§impl<'de> Deserialize<'de> for ONBOARD_COMPUTER_STATUS_DATA
impl<'de> Deserialize<'de> for ONBOARD_COMPUTER_STATUS_DATA
source§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
source§impl MessageData for ONBOARD_COMPUTER_STATUS_DATA
impl MessageData for ONBOARD_COMPUTER_STATUS_DATA
type Message = MavMessage
const ID: u32 = 390u32
const NAME: &'static str = "ONBOARD_COMPUTER_STATUS"
const EXTRA_CRC: u8 = 156u8
const ENCODED_LEN: usize = 238usize
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
source§impl PartialEq for ONBOARD_COMPUTER_STATUS_DATA
impl PartialEq for ONBOARD_COMPUTER_STATUS_DATA
source§fn eq(&self, other: &ONBOARD_COMPUTER_STATUS_DATA) -> bool
fn eq(&self, other: &ONBOARD_COMPUTER_STATUS_DATA) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ONBOARD_COMPUTER_STATUS_DATA
Auto Trait Implementations§
impl Freeze for ONBOARD_COMPUTER_STATUS_DATA
impl RefUnwindSafe for ONBOARD_COMPUTER_STATUS_DATA
impl Send for ONBOARD_COMPUTER_STATUS_DATA
impl Sync for ONBOARD_COMPUTER_STATUS_DATA
impl Unpin for ONBOARD_COMPUTER_STATUS_DATA
impl UnwindSafe for ONBOARD_COMPUTER_STATUS_DATA
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)