pub struct StabilityFactor {
pub name: String,
pub value: f32,
pub weight: f32,
pub description: String,
}Expand description
A single factor contributing to the stability score.
Fields§
§name: StringFactor name.
value: f32Factor value (0.0 = unstable, 1.0 = stable).
weight: f32Weight applied to this factor in the overall score.
description: StringHuman-readable description.
Trait Implementations§
Source§impl Clone for StabilityFactor
impl Clone for StabilityFactor
Source§fn clone(&self) -> StabilityFactor
fn clone(&self) -> StabilityFactor
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 StabilityFactor
impl Debug for StabilityFactor
Source§impl<'de> Deserialize<'de> for StabilityFactor
impl<'de> Deserialize<'de> for StabilityFactor
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 StabilityFactor
impl RefUnwindSafe for StabilityFactor
impl Send for StabilityFactor
impl Sync for StabilityFactor
impl Unpin for StabilityFactor
impl UnsafeUnpin for StabilityFactor
impl UnwindSafe for StabilityFactor
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