pub struct OperationalComponent {
pub score: f64,
pub factors: OperationalFactors,
}Expand description
Operational health component score.
Fields§
§score: f64Normalized score (0.0 - 1.0).
factors: OperationalFactorsContributing factors.
Trait Implementations§
Source§impl Clone for OperationalComponent
impl Clone for OperationalComponent
Source§fn clone(&self) -> OperationalComponent
fn clone(&self) -> OperationalComponent
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 OperationalComponent
impl Debug for OperationalComponent
Source§impl<'de> Deserialize<'de> for OperationalComponent
impl<'de> Deserialize<'de> for OperationalComponent
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 OperationalComponent
impl RefUnwindSafe for OperationalComponent
impl Send for OperationalComponent
impl Sync for OperationalComponent
impl Unpin for OperationalComponent
impl UnsafeUnpin for OperationalComponent
impl UnwindSafe for OperationalComponent
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