Struct monitord::config::UnitsConfig
source · pub struct UnitsConfig {
pub enabled: bool,
pub state_stats: bool,
pub state_stats_allowlist: Vec<String>,
pub state_stats_blocklist: Vec<String>,
}Fields§
§enabled: bool§state_stats: bool§state_stats_allowlist: Vec<String>§state_stats_blocklist: Vec<String>Trait Implementations§
source§impl Clone for UnitsConfig
impl Clone for UnitsConfig
source§fn clone(&self) -> UnitsConfig
fn clone(&self) -> UnitsConfig
Returns a copy 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 UnitsConfig
impl Debug for UnitsConfig
source§impl Default for UnitsConfig
impl Default for UnitsConfig
source§impl PartialEq for UnitsConfig
impl PartialEq for UnitsConfig
source§fn eq(&self, other: &UnitsConfig) -> bool
fn eq(&self, other: &UnitsConfig) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for UnitsConfig
impl StructuralPartialEq for UnitsConfig
Auto Trait Implementations§
impl Freeze for UnitsConfig
impl RefUnwindSafe for UnitsConfig
impl Send for UnitsConfig
impl Sync for UnitsConfig
impl Unpin for UnitsConfig
impl UnwindSafe for UnitsConfig
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.