Struct spaceapi::sensors::PeopleNowPresentSensor
source · pub struct PeopleNowPresentSensor {
pub metadata: SensorMetadata,
pub names: Option<Vec<String>>,
pub value: u64,
}
Fields§
§metadata: SensorMetadata
§names: Option<Vec<String>>
§value: u64
Trait Implementations§
source§impl Clone for PeopleNowPresentSensor
impl Clone for PeopleNowPresentSensor
source§fn clone(&self) -> PeopleNowPresentSensor
fn clone(&self) -> PeopleNowPresentSensor
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 PeopleNowPresentSensor
impl Debug for PeopleNowPresentSensor
source§impl Default for PeopleNowPresentSensor
impl Default for PeopleNowPresentSensor
source§fn default() -> PeopleNowPresentSensor
fn default() -> PeopleNowPresentSensor
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PeopleNowPresentSensor
impl<'de> Deserialize<'de> for PeopleNowPresentSensor
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 FromSensorTemplate<PeopleNowPresentSensorTemplate> for PeopleNowPresentSensor
impl FromSensorTemplate<PeopleNowPresentSensorTemplate> for PeopleNowPresentSensor
fn try_from_template( template: &PeopleNowPresentSensorTemplate, value: &str ) -> Result<Self, SensorTemplateError>
source§impl PartialEq<PeopleNowPresentSensor> for PeopleNowPresentSensor
impl PartialEq<PeopleNowPresentSensor> for PeopleNowPresentSensor
source§fn eq(&self, other: &PeopleNowPresentSensor) -> bool
fn eq(&self, other: &PeopleNowPresentSensor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PeopleNowPresentSensor
impl Serialize for PeopleNowPresentSensor
impl Eq for PeopleNowPresentSensor
impl StructuralEq for PeopleNowPresentSensor
impl StructuralPartialEq for PeopleNowPresentSensor
Auto Trait Implementations§
impl RefUnwindSafe for PeopleNowPresentSensor
impl Send for PeopleNowPresentSensor
impl Sync for PeopleNowPresentSensor
impl Unpin for PeopleNowPresentSensor
impl UnwindSafe for PeopleNowPresentSensor
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