pub struct DangerEntry {
pub file: PathBuf,
pub risk_score: f64,
pub risk_level: &'static str,
pub issue_count: usize,
pub churn: usize,
pub contributors: usize,
pub reasons: Vec<String>,
}Expand description
A dangerous file entry.
Fields§
§file: PathBuf§risk_score: f64§risk_level: &'static str§issue_count: usize§churn: usize§contributors: usize§reasons: Vec<String>Trait Implementations§
Source§impl Clone for DangerEntry
impl Clone for DangerEntry
Source§fn clone(&self) -> DangerEntry
fn clone(&self) -> DangerEntry
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 moreAuto Trait Implementations§
impl Freeze for DangerEntry
impl RefUnwindSafe for DangerEntry
impl Send for DangerEntry
impl Sync for DangerEntry
impl Unpin for DangerEntry
impl UnsafeUnpin for DangerEntry
impl UnwindSafe for DangerEntry
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