pub struct ImagingEnvironment {
pub temperature: Option<f32>,
pub temperature_unit: UnitsTemperature,
pub air_pressure: Option<f32>,
pub air_pressure_unit: UnitsPressure,
pub humidity: Option<f32>,
pub co_2_percent: Option<f32>,
pub map: Option<MapType>,
}Fields§
§temperature: Option<f32>§temperature_unit: UnitsTemperature§air_pressure: Option<f32>§air_pressure_unit: UnitsPressure§humidity: Option<f32>§co_2_percent: Option<f32>§map: Option<MapType>Implementations§
Source§impl ImagingEnvironment
impl ImagingEnvironment
pub fn default_temperature_unit() -> UnitsTemperature
pub fn default_air_pressure_unit() -> UnitsPressure
Trait Implementations§
Source§impl Clone for ImagingEnvironment
impl Clone for ImagingEnvironment
Source§fn clone(&self) -> ImagingEnvironment
fn clone(&self) -> ImagingEnvironment
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 ImagingEnvironment
impl Debug for ImagingEnvironment
Source§impl<'de> Deserialize<'de> for ImagingEnvironment
impl<'de> Deserialize<'de> for ImagingEnvironment
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
Auto Trait Implementations§
impl Freeze for ImagingEnvironment
impl RefUnwindSafe for ImagingEnvironment
impl Send for ImagingEnvironment
impl Sync for ImagingEnvironment
impl Unpin for ImagingEnvironment
impl UnwindSafe for ImagingEnvironment
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