pub struct MeasurementConditions {
pub integration_time_ms: Option<f64>,
pub averaging: Option<u32>,
pub temperature_celsius: Option<f64>,
pub geometry: Option<String>,
pub specular_component: Option<SpecularComponent>,
pub spectral_resolution_nm: Option<f64>,
pub measurement_aperture_mm: Option<f64>,
pub measurement_filter: Option<String>,
}Expand description
Physical conditions under which the measurement was made.
Fields§
§integration_time_ms: Option<f64>§averaging: Option<u32>§temperature_celsius: Option<f64>§geometry: Option<String>§specular_component: Option<SpecularComponent>§spectral_resolution_nm: Option<f64>Optical (spectral) resolution of the instrument in nm, typically the FWHM of the slit function.
measurement_aperture_mm: Option<f64>Instrument measurement aperture size in mm.
measurement_filter: Option<String>Filter used on the spectrometer during measurement (e.g. "UV Block", "Polarizer").
Trait Implementations§
Source§impl Clone for MeasurementConditions
impl Clone for MeasurementConditions
Source§fn clone(&self) -> MeasurementConditions
fn clone(&self) -> MeasurementConditions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MeasurementConditions
impl Debug for MeasurementConditions
Source§impl<'de> Deserialize<'de> for MeasurementConditions
impl<'de> Deserialize<'de> for MeasurementConditions
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 MeasurementConditions
impl RefUnwindSafe for MeasurementConditions
impl Send for MeasurementConditions
impl Sync for MeasurementConditions
impl Unpin for MeasurementConditions
impl UnsafeUnpin for MeasurementConditions
impl UnwindSafe for MeasurementConditions
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