pub struct ConfigMetrics {
pub endpoint: SocketAddr,
}Fields§
§endpoint: SocketAddrEndpoint of Prometheus service
Trait Implementations§
Source§impl Clone for ConfigMetrics
impl Clone for ConfigMetrics
Source§fn clone(&self) -> ConfigMetrics
fn clone(&self) -> ConfigMetrics
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 ConfigMetrics
impl Debug for ConfigMetrics
Source§impl Default for ConfigMetrics
impl Default for ConfigMetrics
Source§impl<'de> Deserialize<'de> for ConfigMetricswhere
ConfigMetrics: Default,
impl<'de> Deserialize<'de> for ConfigMetricswhere
ConfigMetrics: Default,
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
impl Copy for ConfigMetrics
Auto Trait Implementations§
impl Freeze for ConfigMetrics
impl RefUnwindSafe for ConfigMetrics
impl Send for ConfigMetrics
impl Sync for ConfigMetrics
impl Unpin for ConfigMetrics
impl UnwindSafe for ConfigMetrics
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