pub enum EntityTargetingPattern {
Random,
VolumeWeighted,
TypeFocused {
type_weights: HashMap<String, f64>,
},
RepeatOffender {
repeat_probability: f64,
},
}Expand description
Entity targeting pattern.
Variants§
Random
Random entity selection.
VolumeWeighted
Weighted by transaction volume.
TypeFocused
Focus on specific entity types.
RepeatOffender
Repeat offender pattern (same entities).
Trait Implementations§
Source§impl Clone for EntityTargetingPattern
impl Clone for EntityTargetingPattern
Source§fn clone(&self) -> EntityTargetingPattern
fn clone(&self) -> EntityTargetingPattern
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 EntityTargetingPattern
impl Debug for EntityTargetingPattern
Source§impl Default for EntityTargetingPattern
impl Default for EntityTargetingPattern
Source§fn default() -> EntityTargetingPattern
fn default() -> EntityTargetingPattern
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EntityTargetingPattern
impl RefUnwindSafe for EntityTargetingPattern
impl Send for EntityTargetingPattern
impl Sync for EntityTargetingPattern
impl Unpin for EntityTargetingPattern
impl UnwindSafe for EntityTargetingPattern
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