Struct spaceapi::sensors::TemperatureSensorTemplate
source · pub struct TemperatureSensorTemplate {
pub metadata: SensorMetadataWithLocation,
pub unit: String,
}
Fields§
§metadata: SensorMetadataWithLocation
§unit: String
Trait Implementations§
source§impl Clone for TemperatureSensorTemplate
impl Clone for TemperatureSensorTemplate
source§fn clone(&self) -> TemperatureSensorTemplate
fn clone(&self) -> TemperatureSensorTemplate
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 TemperatureSensorTemplate
impl Debug for TemperatureSensorTemplate
source§impl FromSensorTemplate<TemperatureSensorTemplate> for TemperatureSensor
impl FromSensorTemplate<TemperatureSensorTemplate> for TemperatureSensor
fn try_from_template( template: &TemperatureSensorTemplate, value: &str ) -> Result<Self, SensorTemplateError>
Auto Trait Implementations§
impl RefUnwindSafe for TemperatureSensorTemplate
impl Send for TemperatureSensorTemplate
impl Sync for TemperatureSensorTemplate
impl Unpin for TemperatureSensorTemplate
impl UnwindSafe for TemperatureSensorTemplate
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