pub struct DetectedPattern {
pub pattern_type: PatternType,
pub key: String,
pub domain: String,
pub authority: Option<String>,
pub occurrences: usize,
pub first_seen: String,
pub last_seen: String,
pub dates: Vec<String>,
pub description: String,
pub trending_up: Option<bool>,
}Expand description
A single detected pattern in a village’s decision history.
Fields§
§pattern_type: PatternType§key: String§domain: String§occurrences: usize§first_seen: String§last_seen: String§dates: Vec<String>§description: String§trending_up: Option<bool>Trait Implementations§
Source§impl Clone for DetectedPattern
impl Clone for DetectedPattern
Source§fn clone(&self) -> DetectedPattern
fn clone(&self) -> DetectedPattern
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 DetectedPattern
impl Debug for DetectedPattern
Auto Trait Implementations§
impl Freeze for DetectedPattern
impl RefUnwindSafe for DetectedPattern
impl Send for DetectedPattern
impl Sync for DetectedPattern
impl Unpin for DetectedPattern
impl UnsafeUnpin for DetectedPattern
impl UnwindSafe for DetectedPattern
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