pub struct SpectralUnits {
pub watts_per_nm: String,
pub relative: String,
}Fields§
§watts_per_nm: String§relative: StringTrait Implementations§
Source§impl Clone for SpectralUnits
impl Clone for SpectralUnits
Source§fn clone(&self) -> SpectralUnits
fn clone(&self) -> SpectralUnits
Returns a duplicate 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 SpectralUnits
impl Debug for SpectralUnits
Source§impl<'de> Deserialize<'de> for SpectralUnits
impl<'de> Deserialize<'de> for SpectralUnits
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 for SpectralUnits
impl PartialEq for SpectralUnits
Source§impl Serialize for SpectralUnits
impl Serialize for SpectralUnits
impl StructuralPartialEq for SpectralUnits
Auto Trait Implementations§
impl Freeze for SpectralUnits
impl RefUnwindSafe for SpectralUnits
impl Send for SpectralUnits
impl Sync for SpectralUnits
impl Unpin for SpectralUnits
impl UnsafeUnpin for SpectralUnits
impl UnwindSafe for SpectralUnits
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