pub struct SensorDeviceMessageAttributesV3 { /* private fields */ }Implementations§
Source§impl SensorDeviceMessageAttributesV3
impl SensorDeviceMessageAttributesV3
pub fn feature_descriptor(&self) -> &String
pub fn sensor_type(&self) -> &SensorType
pub fn sensor_range(&self) -> &Vec<RangeInclusive<i32>>
pub fn index(&self) -> &u32
Trait Implementations§
Source§impl Clone for SensorDeviceMessageAttributesV3
impl Clone for SensorDeviceMessageAttributesV3
Source§fn clone(&self) -> SensorDeviceMessageAttributesV3
fn clone(&self) -> SensorDeviceMessageAttributesV3
Returns a duplicate 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<'de> Deserialize<'de> for SensorDeviceMessageAttributesV3
impl<'de> Deserialize<'de> for SensorDeviceMessageAttributesV3
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 PartialEq for SensorDeviceMessageAttributesV3
impl PartialEq for SensorDeviceMessageAttributesV3
Source§fn eq(&self, other: &SensorDeviceMessageAttributesV3) -> bool
fn eq(&self, other: &SensorDeviceMessageAttributesV3) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SensorDeviceMessageAttributesV3
impl StructuralPartialEq for SensorDeviceMessageAttributesV3
Auto Trait Implementations§
impl Freeze for SensorDeviceMessageAttributesV3
impl RefUnwindSafe for SensorDeviceMessageAttributesV3
impl Send for SensorDeviceMessageAttributesV3
impl Sync for SensorDeviceMessageAttributesV3
impl Unpin for SensorDeviceMessageAttributesV3
impl UnwindSafe for SensorDeviceMessageAttributesV3
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