pub struct Metrics {
pub enabled: Option<bool>,
pub include_apis: Option<bool>,
pub retention_policy: Option<RetentionPolicy>,
pub version: Option<String>,
}
Expand description
The metrics properties.
Fields§
§enabled: Option<bool>
Whether it is enabled.
include_apis: Option<bool>
Whether to include API in the metrics.
retention_policy: Option<RetentionPolicy>
The retention policy of the metrics.
version: Option<String>
The version of the metrics properties.
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
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