Struct mavlink::uavionix::POWER_STATUS_DATA
source · pub struct POWER_STATUS_DATA {
pub Vcc: u16,
pub Vservo: u16,
pub flags: MavPowerStatus,
}
Available on crate feature
uavionix
only.Expand description
id: 125 Power supply status.
Fields§
§Vcc: u16
5V rail voltage..
Vservo: u16
Servo rail voltage..
flags: MavPowerStatus
Bitmap of power supply status flags..
Implementations§
source§impl POWER_STATUS_DATA
impl POWER_STATUS_DATA
pub const ENCODED_LEN: usize = 6usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for POWER_STATUS_DATA
impl Clone for POWER_STATUS_DATA
source§fn clone(&self) -> POWER_STATUS_DATA
fn clone(&self) -> POWER_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 POWER_STATUS_DATA
impl Debug for POWER_STATUS_DATA
source§impl Default for POWER_STATUS_DATA
impl Default for POWER_STATUS_DATA
source§impl<'de> Deserialize<'de> for POWER_STATUS_DATA
impl<'de> Deserialize<'de> for POWER_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 POWER_STATUS_DATA
impl MessageData for POWER_STATUS_DATA
const ID: u32 = 125u32
const NAME: &'static str = "POWER_STATUS"
const EXTRA_CRC: u8 = 203u8
const ENCODED_LEN: usize = 6usize
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 POWER_STATUS_DATA
impl PartialEq for POWER_STATUS_DATA
source§impl Serialize for POWER_STATUS_DATA
impl Serialize for POWER_STATUS_DATA
impl StructuralPartialEq for POWER_STATUS_DATA
Auto Trait Implementations§
impl Freeze for POWER_STATUS_DATA
impl RefUnwindSafe for POWER_STATUS_DATA
impl Send for POWER_STATUS_DATA
impl Sync for POWER_STATUS_DATA
impl Unpin for POWER_STATUS_DATA
impl UnwindSafe for POWER_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§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
)