pub struct PatternRegistryStats {
pub total: usize,
pub active: usize,
pub inactive: usize,
pub reference_count: usize,
pub code_count: usize,
pub presets: usize,
pub manual: usize,
pub learned: usize,
}Expand description
Statistics about the pattern registry.
Fields§
§total: usizeTotal pattern count.
active: usizeActive pattern count.
inactive: usizeInactive pattern count.
reference_count: usizeReference pattern count.
code_count: usizeCode pattern count.
presets: usizePreset pattern count.
manual: usizeManually added pattern count.
learned: usizeLearned pattern count.
Trait Implementations§
Source§impl Clone for PatternRegistryStats
impl Clone for PatternRegistryStats
Source§fn clone(&self) -> PatternRegistryStats
fn clone(&self) -> PatternRegistryStats
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 PatternRegistryStats
impl Debug for PatternRegistryStats
Source§impl<'de> Deserialize<'de> for PatternRegistryStats
impl<'de> Deserialize<'de> for PatternRegistryStats
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
Source§impl Display for PatternRegistryStats
impl Display for PatternRegistryStats
Auto Trait Implementations§
impl Freeze for PatternRegistryStats
impl RefUnwindSafe for PatternRegistryStats
impl Send for PatternRegistryStats
impl Sync for PatternRegistryStats
impl Unpin for PatternRegistryStats
impl UnsafeUnpin for PatternRegistryStats
impl UnwindSafe for PatternRegistryStats
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