pub struct RiskFactors {
pub downstream_count: usize,
pub age_days: u32,
pub execution_refs: usize,
pub cross_project: bool,
pub has_approval: bool,
}Expand description
Individual risk factor values used to compute the overall score.
Fields§
§downstream_count: usize§age_days: u32§execution_refs: usize§cross_project: bool§has_approval: boolTrait Implementations§
Source§impl Clone for RiskFactors
impl Clone for RiskFactors
Source§fn clone(&self) -> RiskFactors
fn clone(&self) -> RiskFactors
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 RiskFactors
impl Debug for RiskFactors
Auto Trait Implementations§
impl Freeze for RiskFactors
impl RefUnwindSafe for RiskFactors
impl Send for RiskFactors
impl Sync for RiskFactors
impl Unpin for RiskFactors
impl UnsafeUnpin for RiskFactors
impl UnwindSafe for RiskFactors
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