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
impl StructuralPartialEq for ResourceMetrics
Auto Trait Implementations§
impl Freeze for ResourceMetrics
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more