pub struct RawMetricsConfig {
pub metrics_path: String,
}Expand description
Raw /metrics PUT body off the wire.
Fields§
§metrics_path: StringPath to a regular file or named pipe.
Trait Implementations§
Source§impl Clone for RawMetricsConfig
impl Clone for RawMetricsConfig
Source§fn clone(&self) -> RawMetricsConfig
fn clone(&self) -> RawMetricsConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RawMetricsConfig
impl Debug for RawMetricsConfig
Source§impl<'de> Deserialize<'de> for RawMetricsConfig
impl<'de> Deserialize<'de> for RawMetricsConfig
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
Source§impl TryFrom<RawMetricsConfig> for MetricsConfig
impl TryFrom<RawMetricsConfig> for MetricsConfig
Auto Trait Implementations§
impl Freeze for RawMetricsConfig
impl RefUnwindSafe for RawMetricsConfig
impl Send for RawMetricsConfig
impl Sync for RawMetricsConfig
impl Unpin for RawMetricsConfig
impl UnsafeUnpin for RawMetricsConfig
impl UnwindSafe for RawMetricsConfig
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