pub struct Metrics {
pub version: Option<String>,
pub enabled: bool,
pub include_ap_is: Option<bool>,
pub retention_policy: Option<RetentionPolicy>,
}
Expand description
a summary of request statistics grouped by API in hour or minute aggregates for blobs
Fields§
§version: Option<String>
The version of Storage Analytics to configure.
enabled: bool
Indicates whether metrics are enabled for the Blob service.
include_ap_is: Option<bool>
Indicates whether metrics should generate summary statistics for called API operations.
retention_policy: Option<RetentionPolicy>
the retention policy which determines how long the associated data should persist
Implementations§
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
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