pub struct SensorRecordCommon {
pub key: SensorKey,
pub entity_id: u8,
pub entity_instance: EntityInstance,
pub initialization: SensorInitialization,
pub capabilities: SensorCapabilities,
pub ty: SensorType,
pub event_reading_type_code: EventReadingTypeCodes,
pub sensor_units: SensorUnits,
pub sensor_id: SensorId,
}Fields§
§key: SensorKey§entity_id: u8§entity_instance: EntityInstance§initialization: SensorInitialization§capabilities: SensorCapabilities§ty: SensorType§event_reading_type_code: EventReadingTypeCodes§sensor_units: SensorUnits§sensor_id: SensorIdTrait Implementations§
Source§impl Clone for SensorRecordCommon
impl Clone for SensorRecordCommon
Source§fn clone(&self) -> SensorRecordCommon
fn clone(&self) -> SensorRecordCommon
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 moreAuto Trait Implementations§
impl Freeze for SensorRecordCommon
impl RefUnwindSafe for SensorRecordCommon
impl Send for SensorRecordCommon
impl Sync for SensorRecordCommon
impl Unpin for SensorRecordCommon
impl UnwindSafe for SensorRecordCommon
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