pub struct Metrics {
pub metrics_path: PathBuf,
}
Expand description
Describes the configuration option for the metrics capability.
Fieldsยง
ยงmetrics_path: PathBuf
Path to the named pipe or file where the JSON-formatted metrics are flushed. Required: true
Trait Implementationsยง
Sourceยงimpl<'de> Deserialize<'de> for Metrics
impl<'de> Deserialize<'de> for Metrics
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 Ord for Metrics
impl Ord for Metrics
1.21.0 ยท Sourceยงfn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Sourceยงimpl PartialOrd for Metrics
impl PartialOrd for Metrics
impl Eq for Metrics
impl StructuralPartialEq for Metrics
Auto Trait Implementationsยง
impl Freeze for Metrics
impl RefUnwindSafe for Metrics
impl Send for Metrics
impl Sync for Metrics
impl Unpin for Metrics
impl UnwindSafe for Metrics
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