Struct aws_sdk_datasync::types::ResourceMetrics
source · #[non_exhaustive]pub struct ResourceMetrics {
pub timestamp: Option<DateTime>,
pub p95_metrics: Option<P95Metrics>,
pub capacity: Option<Capacity>,
pub resource_id: Option<String>,
pub resource_type: Option<DiscoveryResourceType>,
}
Expand description
Information, including performance data and capacity usage, provided by DataSync Discovery about a resource in your on-premises storage system.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.timestamp: Option<DateTime>
The time when DataSync Discovery collected this information from the resource.
p95_metrics: Option<P95Metrics>
The types of performance data that DataSync Discovery collects about the on-premises storage system resource.
capacity: Option<Capacity>
The storage capacity of the on-premises storage system resource.
resource_id: Option<String>
The universally unique identifier (UUID) of the on-premises storage system resource.
resource_type: Option<DiscoveryResourceType>
The type of on-premises storage system resource.
Implementations§
source§impl ResourceMetrics
impl ResourceMetrics
sourcepub fn timestamp(&self) -> Option<&DateTime>
pub fn timestamp(&self) -> Option<&DateTime>
The time when DataSync Discovery collected this information from the resource.
sourcepub fn p95_metrics(&self) -> Option<&P95Metrics>
pub fn p95_metrics(&self) -> Option<&P95Metrics>
The types of performance data that DataSync Discovery collects about the on-premises storage system resource.
sourcepub fn capacity(&self) -> Option<&Capacity>
pub fn capacity(&self) -> Option<&Capacity>
The storage capacity of the on-premises storage system resource.
sourcepub fn resource_id(&self) -> Option<&str>
pub fn resource_id(&self) -> Option<&str>
The universally unique identifier (UUID) of the on-premises storage system resource.
sourcepub fn resource_type(&self) -> Option<&DiscoveryResourceType>
pub fn resource_type(&self) -> Option<&DiscoveryResourceType>
The type of on-premises storage system resource.
source§impl ResourceMetrics
impl ResourceMetrics
sourcepub fn builder() -> ResourceMetricsBuilder
pub fn builder() -> ResourceMetricsBuilder
Creates a new builder-style object to manufacture ResourceMetrics
.
Trait Implementations§
source§impl Clone for ResourceMetrics
impl Clone for ResourceMetrics
source§fn clone(&self) -> ResourceMetrics
fn clone(&self) -> ResourceMetrics
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ResourceMetrics
impl Debug for ResourceMetrics
source§impl PartialEq for ResourceMetrics
impl PartialEq for ResourceMetrics
source§fn eq(&self, other: &ResourceMetrics) -> bool
fn eq(&self, other: &ResourceMetrics) -> bool
self
and other
values to be equal, and is used
by ==
.