Struct spaceapi::sensors::SensorMetadataWithLocation
source · 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 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 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
source§impl PartialEq<SensorMetadataWithLocation> for SensorMetadataWithLocation
impl PartialEq<SensorMetadataWithLocation> for SensorMetadataWithLocation
source§fn eq(&self, other: &SensorMetadataWithLocation) -> bool
fn eq(&self, other: &SensorMetadataWithLocation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SensorMetadataWithLocation
impl StructuralEq for SensorMetadataWithLocation
impl StructuralPartialEq for SensorMetadataWithLocation
Auto Trait Implementations§
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