pub struct MonitoringConfig {
pub enabled: bool,
pub collection_interval_secs: u64,
pub performance_monitoring: bool,
pub health_checks: bool,
}
Expand description
Monitoring configuration
Fields§
§enabled: bool
Enable metrics collection
collection_interval_secs: u64
Metrics collection interval in seconds
performance_monitoring: bool
Enable performance monitoring
health_checks: bool
Enable health checks
Trait Implementations§
Source§impl Clone for MonitoringConfig
impl Clone for MonitoringConfig
Source§fn clone(&self) -> MonitoringConfig
fn clone(&self) -> MonitoringConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MonitoringConfig
impl Debug for MonitoringConfig
Source§impl Default for MonitoringConfig
impl Default for MonitoringConfig
Source§fn default() -> MonitoringConfig
fn default() -> MonitoringConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MonitoringConfig
impl<'de> Deserialize<'de> for MonitoringConfig
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MonitoringConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MonitoringConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for MonitoringConfig
impl Serialize for MonitoringConfig
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for MonitoringConfig
impl RefUnwindSafe for MonitoringConfig
impl Send for MonitoringConfig
impl Sync for MonitoringConfig
impl Unpin for MonitoringConfig
impl UnwindSafe for MonitoringConfig
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