pub struct MetricsExportConfig {
pub interval: Duration,
pub destinations: Vec<ExportDestination>,
pub batch_size: usize,
pub timeout: Duration,
}Expand description
Export configuration
Fields§
§interval: DurationExport interval
destinations: Vec<ExportDestination>Export destinations
batch_size: usizeBatch size for export
timeout: DurationExport timeout
Trait Implementations§
Source§impl Clone for MetricsExportConfig
impl Clone for MetricsExportConfig
Source§fn clone(&self) -> MetricsExportConfig
fn clone(&self) -> MetricsExportConfig
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 MetricsExportConfig
impl Debug for MetricsExportConfig
Source§impl Default for MetricsExportConfig
impl Default for MetricsExportConfig
Source§impl<'de> Deserialize<'de> for MetricsExportConfig
impl<'de> Deserialize<'de> for MetricsExportConfig
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 MetricsExportConfig
impl RefUnwindSafe for MetricsExportConfig
impl Send for MetricsExportConfig
impl Sync for MetricsExportConfig
impl Unpin for MetricsExportConfig
impl UnwindSafe for MetricsExportConfig
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