Struct mavlink::python_array_test::HYGROMETER_SENSOR_DATA
source · pub struct HYGROMETER_SENSOR_DATA {
pub temperature: i16,
pub humidity: u16,
pub id: u8,
}
Available on crate feature
python_array_test
only.Expand description
id: 12920 Temperature and humidity from hygrometer..
Fields§
§temperature: i16
Temperature.
humidity: u16
Humidity.
id: u8
Hygrometer ID.
Implementations§
source§impl HYGROMETER_SENSOR_DATA
impl HYGROMETER_SENSOR_DATA
pub const ENCODED_LEN: usize = 5usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for HYGROMETER_SENSOR_DATA
impl Clone for HYGROMETER_SENSOR_DATA
source§fn clone(&self) -> HYGROMETER_SENSOR_DATA
fn clone(&self) -> HYGROMETER_SENSOR_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 HYGROMETER_SENSOR_DATA
impl Debug for HYGROMETER_SENSOR_DATA
source§impl Default for HYGROMETER_SENSOR_DATA
impl Default for HYGROMETER_SENSOR_DATA
source§impl<'de> Deserialize<'de> for HYGROMETER_SENSOR_DATA
impl<'de> Deserialize<'de> for HYGROMETER_SENSOR_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 HYGROMETER_SENSOR_DATA
impl MessageData for HYGROMETER_SENSOR_DATA
const ID: u32 = 12_920u32
const NAME: &'static str = "HYGROMETER_SENSOR"
const EXTRA_CRC: u8 = 20u8
const ENCODED_LEN: usize = 5usize
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 HYGROMETER_SENSOR_DATA
impl PartialEq for HYGROMETER_SENSOR_DATA
source§impl Serialize for HYGROMETER_SENSOR_DATA
impl Serialize for HYGROMETER_SENSOR_DATA
impl StructuralPartialEq for HYGROMETER_SENSOR_DATA
Auto Trait Implementations§
impl Freeze for HYGROMETER_SENSOR_DATA
impl RefUnwindSafe for HYGROMETER_SENSOR_DATA
impl Send for HYGROMETER_SENSOR_DATA
impl Sync for HYGROMETER_SENSOR_DATA
impl Unpin for HYGROMETER_SENSOR_DATA
impl UnwindSafe for HYGROMETER_SENSOR_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
)