pub struct StabilityResult {
pub path: String,
pub overall_score: f32,
pub factors: Vec<StabilityFactor>,
pub recommendations: Vec<StabilityRecommendation>,
}Expand description
Result of a stability analysis for a single file or code unit.
Fields§
§path: StringThe file path analysed.
overall_score: f32Overall stability score (0.0 = very unstable, 1.0 = very stable).
factors: Vec<StabilityFactor>Individual contributing factors.
recommendations: Vec<StabilityRecommendation>Recommendations for improving stability.
Trait Implementations§
Source§impl Clone for StabilityResult
impl Clone for StabilityResult
Source§fn clone(&self) -> StabilityResult
fn clone(&self) -> StabilityResult
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 StabilityResult
impl Debug for StabilityResult
Source§impl<'de> Deserialize<'de> for StabilityResult
impl<'de> Deserialize<'de> for StabilityResult
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 StabilityResult
impl RefUnwindSafe for StabilityResult
impl Send for StabilityResult
impl Sync for StabilityResult
impl Unpin for StabilityResult
impl UnsafeUnpin for StabilityResult
impl UnwindSafe for StabilityResult
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