pub struct SensorId(pub u16);Expand description
Identifies a sensor within one mirror.
Tuple Fields§
§0: u16Trait Implementations§
impl Copy for SensorId
Source§impl<'de> Deserialize<'de> for SensorId
impl<'de> Deserialize<'de> for SensorId
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SensorId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SensorId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SensorId
Source§impl Ord for SensorId
impl Ord for SensorId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for SensorId
impl PartialOrd for SensorId
Source§impl Serialize for SensorId
impl Serialize for SensorId
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SensorId
Auto Trait Implementations§
impl Freeze for SensorId
impl RefUnwindSafe for SensorId
impl Send for SensorId
impl Sync for SensorId
impl Unpin for SensorId
impl UnsafeUnpin for SensorId
impl UnwindSafe for SensorId
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