pub struct SensorMetadata {
pub time: Option<DateTime<Utc>>,
pub device_id: Option<String>,
pub device_metadata_uri: Option<String>,
pub raw_data_uri: Option<String>,
pub data_content_uri: Option<String>,
pub biz_rules_uri: Option<String>,
}Expand description
Metadata about a sensor device or sensor data source.
Fields§
§time: Option<DateTime<Utc>>Time when the sensor metadata was generated
device_id: Option<String>Device identifier
device_metadata_uri: Option<String>URI pointing to device metadata details
raw_data_uri: Option<String>URI pointing to raw sensor data
data_content_uri: Option<String>URI pointing to parsed data content
biz_rules_uri: Option<String>URI pointing to business logic rules applied to the sensor
Trait Implementations§
Source§impl Clone for SensorMetadata
impl Clone for SensorMetadata
Source§fn clone(&self) -> SensorMetadata
fn clone(&self) -> SensorMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SensorMetadata
impl Debug for SensorMetadata
Source§impl<'de> Deserialize<'de> for SensorMetadata
impl<'de> Deserialize<'de> for SensorMetadata
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 SensorMetadata
impl PartialEq for SensorMetadata
Source§fn eq(&self, other: &SensorMetadata) -> bool
fn eq(&self, other: &SensorMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SensorMetadata
impl Serialize for SensorMetadata
impl StructuralPartialEq for SensorMetadata
Auto Trait Implementations§
impl Freeze for SensorMetadata
impl RefUnwindSafe for SensorMetadata
impl Send for SensorMetadata
impl Sync for SensorMetadata
impl Unpin for SensorMetadata
impl UnsafeUnpin for SensorMetadata
impl UnwindSafe for SensorMetadata
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