pub struct CachedMatch {
pub pattern_id: String,
pub score: f64,
pub timestamp: i64,
pub hit_count: u64,
}Expand description
Cached match result.
Fields§
§pattern_id: String§score: f64§timestamp: i64§hit_count: u64Trait Implementations§
Source§impl Clone for CachedMatch
impl Clone for CachedMatch
Source§fn clone(&self) -> CachedMatch
fn clone(&self) -> CachedMatch
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 moreAuto Trait Implementations§
impl Freeze for CachedMatch
impl RefUnwindSafe for CachedMatch
impl Send for CachedMatch
impl Sync for CachedMatch
impl Unpin for CachedMatch
impl UnsafeUnpin for CachedMatch
impl UnwindSafe for CachedMatch
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