Struct aws_sdk_datasync::types::ResourceMetrics
source · #[non_exhaustive]pub struct ResourceMetrics { /* private fields */ }
Expand description
Information, including performance data and capacity usage, provided by DataSync Discovery about a resource in your on-premises storage system.
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ResourceMetrics
impl Debug for ResourceMetrics
source§impl PartialEq<ResourceMetrics> for ResourceMetrics
impl PartialEq<ResourceMetrics> for ResourceMetrics
source§fn eq(&self, other: &ResourceMetrics) -> bool
fn eq(&self, other: &ResourceMetrics) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ResourceMetrics
Auto Trait Implementations§
impl RefUnwindSafe for ResourceMetrics
impl Send for ResourceMetrics
impl Sync for ResourceMetrics
impl Unpin for ResourceMetrics
impl UnwindSafe for ResourceMetrics
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