pub struct HsiSource {
pub source_type: HsiSourceType,
pub quality: f64,
pub degraded: bool,
pub notes: Option<String>,
}Expand description
HSI 1.0 source definition
Fields§
§source_type: HsiSourceTypeSource type
quality: f64Quality of the source (0-1)
degraded: boolWhether the source is degraded
notes: Option<String>Optional notes
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HsiSource
impl<'de> Deserialize<'de> for HsiSource
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 HsiSource
impl RefUnwindSafe for HsiSource
impl Send for HsiSource
impl Sync for HsiSource
impl Unpin for HsiSource
impl UnwindSafe for HsiSource
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