pub struct FilterEvent {
pub command: String,
pub original_tokens: usize,
pub filtered_tokens: usize,
pub savings: usize,
pub timestamp: String,
}Expand description
A single recorded filter event.
Fields§
§command: String§original_tokens: usize§filtered_tokens: usize§savings: usize§timestamp: StringImplementations§
Trait Implementations§
Source§impl Clone for FilterEvent
impl Clone for FilterEvent
Source§fn clone(&self) -> FilterEvent
fn clone(&self) -> FilterEvent
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 FilterEvent
impl Debug for FilterEvent
Source§impl<'de> Deserialize<'de> for FilterEvent
impl<'de> Deserialize<'de> for FilterEvent
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 FilterEvent
impl RefUnwindSafe for FilterEvent
impl Send for FilterEvent
impl Sync for FilterEvent
impl Unpin for FilterEvent
impl UnsafeUnpin for FilterEvent
impl UnwindSafe for FilterEvent
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