Struct sozu_command_lib::config::MetricsConfig
source · pub struct MetricsConfig {
pub address: SocketAddr,
pub tagged_metrics: bool,
pub prefix: Option<String>,
}
Fields§
§address: SocketAddr
§tagged_metrics: bool
§prefix: Option<String>
Trait Implementations§
source§impl Clone for MetricsConfig
impl Clone for MetricsConfig
source§fn clone(&self) -> MetricsConfig
fn clone(&self) -> MetricsConfig
Returns a copy 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 MetricsConfig
impl Debug for MetricsConfig
source§impl<'de> Deserialize<'de> for MetricsConfig
impl<'de> Deserialize<'de> for MetricsConfig
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