pub struct DifficultyFactors {
pub concealment: ConcealmentFactors,
pub blending: BlendingFactors,
pub collusion: CollusionFactors,
pub temporal: TemporalFactors,
pub amount: AmountFactors,
}Expand description
Combined difficulty factors for comprehensive calculation.
Fields§
§concealment: ConcealmentFactorsConcealment techniques and methods.
blending: BlendingFactorsHow well anomaly blends with normal activity.
collusion: CollusionFactorsCollusion involvement.
temporal: TemporalFactorsTemporal characteristics.
amount: AmountFactorsAmount characteristics.
Implementations§
Source§impl DifficultyFactors
impl DifficultyFactors
Sourcepub fn with_concealment(self, concealment: ConcealmentFactors) -> Self
pub fn with_concealment(self, concealment: ConcealmentFactors) -> Self
Sets concealment factors.
Sourcepub fn with_blending(self, blending: BlendingFactors) -> Self
pub fn with_blending(self, blending: BlendingFactors) -> Self
Sets blending factors.
Sourcepub fn with_collusion(self, collusion: CollusionFactors) -> Self
pub fn with_collusion(self, collusion: CollusionFactors) -> Self
Sets collusion factors.
Sourcepub fn with_temporal(self, temporal: TemporalFactors) -> Self
pub fn with_temporal(self, temporal: TemporalFactors) -> Self
Sets temporal factors.
Sourcepub fn with_amount(self, amount: AmountFactors) -> Self
pub fn with_amount(self, amount: AmountFactors) -> Self
Sets amount factors.
Trait Implementations§
Source§impl Clone for DifficultyFactors
impl Clone for DifficultyFactors
Source§fn clone(&self) -> DifficultyFactors
fn clone(&self) -> DifficultyFactors
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 DifficultyFactors
impl Debug for DifficultyFactors
Source§impl Default for DifficultyFactors
impl Default for DifficultyFactors
Source§fn default() -> DifficultyFactors
fn default() -> DifficultyFactors
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DifficultyFactors
impl<'de> Deserialize<'de> for DifficultyFactors
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 DifficultyFactors
impl RefUnwindSafe for DifficultyFactors
impl Send for DifficultyFactors
impl Sync for DifficultyFactors
impl Unpin for DifficultyFactors
impl UnwindSafe for DifficultyFactors
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