pub struct MonitoringConfig {
pub enable_metrics: bool,
pub enable_tracing: bool,
pub enable_logging: bool,
pub metrics_interval: Duration,
pub log_level: String,
pub exporters: Vec<MonitoringExporter>,
}
Expand description
監視設定
Fields§
§enable_metrics: bool
§enable_tracing: bool
§enable_logging: bool
§metrics_interval: Duration
§log_level: String
§exporters: Vec<MonitoringExporter>
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§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MonitoringConfig
impl Debug for MonitoringConfig
Source§impl<'de> Deserialize<'de> for MonitoringConfig
impl<'de> Deserialize<'de> for MonitoringConfig
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 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