pub struct SensorMetadataWithLocation {
pub name: Option<String>,
pub location: String,
pub description: Option<String>,
}
Expand description
Common information describing any sensor which requires a specified location.
Fields§
§name: Option<String>
§location: String
§description: Option<String>
Trait Implementations§
Source§impl Clone for SensorMetadataWithLocation
impl Clone for SensorMetadataWithLocation
Source§fn clone(&self) -> SensorMetadataWithLocation
fn clone(&self) -> SensorMetadataWithLocation
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 Debug for SensorMetadataWithLocation
impl Debug for SensorMetadataWithLocation
Source§impl Default for SensorMetadataWithLocation
impl Default for SensorMetadataWithLocation
Source§fn default() -> SensorMetadataWithLocation
fn default() -> SensorMetadataWithLocation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SensorMetadataWithLocation
impl<'de> Deserialize<'de> for SensorMetadataWithLocation
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
impl Eq for SensorMetadataWithLocation
impl StructuralPartialEq for SensorMetadataWithLocation
Auto Trait Implementations§
impl Freeze for SensorMetadataWithLocation
impl RefUnwindSafe for SensorMetadataWithLocation
impl Send for SensorMetadataWithLocation
impl Sync for SensorMetadataWithLocation
impl Unpin for SensorMetadataWithLocation
impl UnwindSafe for SensorMetadataWithLocation
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