pub struct SystemMetricsConfig {
pub enabled: bool,
pub interval_seconds: u64,
}Expand description
Configuration for system metrics collection
Fields§
§enabled: boolEnable system metrics collection
interval_seconds: u64Collection interval in seconds
Trait Implementations§
Source§impl Clone for SystemMetricsConfig
impl Clone for SystemMetricsConfig
Source§fn clone(&self) -> SystemMetricsConfig
fn clone(&self) -> SystemMetricsConfig
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SystemMetricsConfig
impl Debug for SystemMetricsConfig
Auto Trait Implementations§
impl Freeze for SystemMetricsConfig
impl RefUnwindSafe for SystemMetricsConfig
impl Send for SystemMetricsConfig
impl Sync for SystemMetricsConfig
impl Unpin for SystemMetricsConfig
impl UnwindSafe for SystemMetricsConfig
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)