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 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 moreAuto Trait Implementations§
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