pub struct VcsTrendDelta {
pub path: String,
pub first_as_of: i64,
pub last_as_of: i64,
pub first_risk_score: f64,
pub last_risk_score: f64,
pub delta: f64,
}Available on crate feature
vcs-git only.Expand description
Wire form of one file’s risk-score movement across the trend.
Fields§
§path: StringRepository-relative path.
first_as_of: i64Timestamp of the file’s earliest present point.
last_as_of: i64Timestamp of the file’s latest present point.
first_risk_score: f64risk_score at the earliest present point.
last_risk_score: f64risk_score at the latest present point.
delta: f64last_risk_score - first_risk_score; negative means improved.
Trait Implementations§
Source§impl Clone for VcsTrendDelta
impl Clone for VcsTrendDelta
Source§fn clone(&self) -> VcsTrendDelta
fn clone(&self) -> VcsTrendDelta
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VcsTrendDelta
impl Debug for VcsTrendDelta
Source§impl<'de> Deserialize<'de> for VcsTrendDelta
impl<'de> Deserialize<'de> for VcsTrendDelta
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 VcsTrendDelta
impl PartialEq for VcsTrendDelta
Source§impl Serialize for VcsTrendDelta
impl Serialize for VcsTrendDelta
impl StructuralPartialEq for VcsTrendDelta
Auto Trait Implementations§
impl Freeze for VcsTrendDelta
impl RefUnwindSafe for VcsTrendDelta
impl Send for VcsTrendDelta
impl Sync for VcsTrendDelta
impl Unpin for VcsTrendDelta
impl UnsafeUnpin for VcsTrendDelta
impl UnwindSafe for VcsTrendDelta
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