pub struct ExportConfig {
pub prometheus: Option<PrometheusConfig>,
pub graphite: Option<GraphiteConfig>,
}
Expand description
Config of exporters.
Fields§
§prometheus: Option<PrometheusConfig>
Optional config for Prometheus
graphite: Option<GraphiteConfig>
Optional config for Graphite
Implementations§
Trait Implementations§
Source§impl Debug for ExportConfig
impl Debug for ExportConfig
Source§impl Default for ExportConfig
impl Default for ExportConfig
Source§impl<'de> Deserialize<'de> for ExportConfig
impl<'de> Deserialize<'de> for ExportConfig
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 ExportConfig
impl RefUnwindSafe for ExportConfig
impl Send for ExportConfig
impl Sync for ExportConfig
impl Unpin for ExportConfig
impl UnwindSafe for ExportConfig
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