pub struct FootprintThresholds {
pub max_transitive_deps: Option<u32>,
pub max_footprint_risk: Option<f32>,
}Expand description
Footprint risk thresholds
Fields§
§max_transitive_deps: Option<u32>Maximum acceptable transitive dependency count
max_footprint_risk: Option<f32>Maximum acceptable footprint risk score (0.0-1.0)
Trait Implementations§
Source§impl Clone for FootprintThresholds
impl Clone for FootprintThresholds
Source§fn clone(&self) -> FootprintThresholds
fn clone(&self) -> FootprintThresholds
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 FootprintThresholds
impl Debug for FootprintThresholds
Source§impl Default for FootprintThresholds
impl Default for FootprintThresholds
Source§impl<'de> Deserialize<'de> for FootprintThresholds
impl<'de> Deserialize<'de> for FootprintThresholds
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 FootprintThresholds
impl RefUnwindSafe for FootprintThresholds
impl Send for FootprintThresholds
impl Sync for FootprintThresholds
impl Unpin for FootprintThresholds
impl UnwindSafe for FootprintThresholds
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