Struct aws_sdk_connect::types::builders::CurrentMetricDataBuilder
source · #[non_exhaustive]pub struct CurrentMetricDataBuilder { /* private fields */ }
Expand description
A builder for CurrentMetricData
.
Implementations§
source§impl CurrentMetricDataBuilder
impl CurrentMetricDataBuilder
sourcepub fn metric(self, input: CurrentMetric) -> Self
pub fn metric(self, input: CurrentMetric) -> Self
Information about the metric.
sourcepub fn set_metric(self, input: Option<CurrentMetric>) -> Self
pub fn set_metric(self, input: Option<CurrentMetric>) -> Self
Information about the metric.
sourcepub fn get_metric(&self) -> &Option<CurrentMetric>
pub fn get_metric(&self) -> &Option<CurrentMetric>
Information about the metric.
sourcepub fn build(self) -> CurrentMetricData
pub fn build(self) -> CurrentMetricData
Consumes the builder and constructs a CurrentMetricData
.
Trait Implementations§
source§impl Clone for CurrentMetricDataBuilder
impl Clone for CurrentMetricDataBuilder
source§fn clone(&self) -> CurrentMetricDataBuilder
fn clone(&self) -> CurrentMetricDataBuilder
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 CurrentMetricDataBuilder
impl Debug for CurrentMetricDataBuilder
source§impl Default for CurrentMetricDataBuilder
impl Default for CurrentMetricDataBuilder
source§fn default() -> CurrentMetricDataBuilder
fn default() -> CurrentMetricDataBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CurrentMetricDataBuilder
impl PartialEq for CurrentMetricDataBuilder
source§fn eq(&self, other: &CurrentMetricDataBuilder) -> bool
fn eq(&self, other: &CurrentMetricDataBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CurrentMetricDataBuilder
Auto Trait Implementations§
impl Freeze for CurrentMetricDataBuilder
impl RefUnwindSafe for CurrentMetricDataBuilder
impl Send for CurrentMetricDataBuilder
impl Sync for CurrentMetricDataBuilder
impl Unpin for CurrentMetricDataBuilder
impl UnwindSafe for CurrentMetricDataBuilder
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> 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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.