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<Metrics, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Metrics, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for Metrics
impl Serialize for Metrics
source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)