Struct aws_sdk_connect::types::CurrentMetric
source · #[non_exhaustive]pub struct CurrentMetric {
pub name: Option<CurrentMetricName>,
pub unit: Option<Unit>,
}
Expand description
Contains information about a real-time metric. For a description of each metric, see Real-time Metrics Definitions in the Amazon Connect Administrator Guide.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<CurrentMetricName>
The name of the metric.
unit: Option<Unit>
The unit for the metric.
Implementations§
source§impl CurrentMetric
impl CurrentMetric
source§impl CurrentMetric
impl CurrentMetric
sourcepub fn builder() -> CurrentMetricBuilder
pub fn builder() -> CurrentMetricBuilder
Creates a new builder-style object to manufacture CurrentMetric
.
Trait Implementations§
source§impl Clone for CurrentMetric
impl Clone for CurrentMetric
source§fn clone(&self) -> CurrentMetric
fn clone(&self) -> CurrentMetric
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 CurrentMetric
impl Debug for CurrentMetric
source§impl PartialEq<CurrentMetric> for CurrentMetric
impl PartialEq<CurrentMetric> for CurrentMetric
source§fn eq(&self, other: &CurrentMetric) -> bool
fn eq(&self, other: &CurrentMetric) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CurrentMetric
Auto Trait Implementations§
impl RefUnwindSafe for CurrentMetric
impl Send for CurrentMetric
impl Sync for CurrentMetric
impl Unpin for CurrentMetric
impl UnwindSafe for CurrentMetric
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