Struct mavlink::ardupilotmega::HWSTATUS_DATA
source · pub struct HWSTATUS_DATA {
pub Vcc: u16,
pub I2Cerr: u8,
}
Available on crate feature
ardupilotmega
only.Expand description
id: 165 Status of key hardware..
Fields§
§Vcc: u16
Board voltage..
I2Cerr: u8
I2C error count..
Implementations§
source§impl HWSTATUS_DATA
impl HWSTATUS_DATA
pub const ENCODED_LEN: usize = 3usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for HWSTATUS_DATA
impl Clone for HWSTATUS_DATA
source§fn clone(&self) -> HWSTATUS_DATA
fn clone(&self) -> HWSTATUS_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 HWSTATUS_DATA
impl Debug for HWSTATUS_DATA
source§impl Default for HWSTATUS_DATA
impl Default for HWSTATUS_DATA
source§impl<'de> Deserialize<'de> for HWSTATUS_DATA
impl<'de> Deserialize<'de> for HWSTATUS_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 HWSTATUS_DATA
impl MessageData for HWSTATUS_DATA
const ID: u32 = 165u32
const NAME: &'static str = "HWSTATUS"
const EXTRA_CRC: u8 = 21u8
const ENCODED_LEN: usize = 3usize
type Message = MavMessage
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
source§impl PartialEq for HWSTATUS_DATA
impl PartialEq for HWSTATUS_DATA
source§impl Serialize for HWSTATUS_DATA
impl Serialize for HWSTATUS_DATA
impl StructuralPartialEq for HWSTATUS_DATA
Auto Trait Implementations§
impl Freeze for HWSTATUS_DATA
impl RefUnwindSafe for HWSTATUS_DATA
impl Send for HWSTATUS_DATA
impl Sync for HWSTATUS_DATA
impl Unpin for HWSTATUS_DATA
impl UnwindSafe for HWSTATUS_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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)