Struct spaceapi::sensors::SensorMetadata
source · pub struct SensorMetadata {
pub name: Option<String>,
pub location: Option<String>,
pub description: Option<String>,
}
Expand description
Common information describing any sensor.
Fields§
§name: Option<String>
§location: Option<String>
§description: Option<String>
Trait Implementations§
source§impl Clone for SensorMetadata
impl Clone for SensorMetadata
source§fn clone(&self) -> SensorMetadata
fn clone(&self) -> SensorMetadata
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 moresource§impl Debug for SensorMetadata
impl Debug for SensorMetadata
source§impl Default for SensorMetadata
impl Default for SensorMetadata
source§fn default() -> SensorMetadata
fn default() -> SensorMetadata
Returns the “default value” for a type. Read more
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<SensorMetadata> for SensorMetadata
impl PartialEq<SensorMetadata> for SensorMetadata
source§fn eq(&self, other: &SensorMetadata) -> bool
fn eq(&self, other: &SensorMetadata) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SensorMetadata
impl Serialize for SensorMetadata
impl Eq for SensorMetadata
impl StructuralEq for SensorMetadata
impl StructuralPartialEq for SensorMetadata
Auto Trait Implementations§
impl RefUnwindSafe for SensorMetadata
impl Send for SensorMetadata
impl Sync for SensorMetadata
impl Unpin 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