Struct aws_sdk_rum::types::MetricDestinationSummary
source · #[non_exhaustive]pub struct MetricDestinationSummary {
pub destination: Option<MetricDestination>,
pub destination_arn: Option<String>,
pub iam_role_arn: Option<String>,
}Expand description
A structure that displays information about one destination that CloudWatch RUM sends extended metrics to.
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.destination: Option<MetricDestination>Specifies whether the destination is CloudWatch or Evidently.
destination_arn: Option<String>If the destination is Evidently, this specifies the ARN of the Evidently experiment that receives the metrics.
iam_role_arn: Option<String>This field appears only when the destination is Evidently. It specifies the ARN of the IAM role that is used to write to the Evidently experiment that receives the metrics.
Implementations§
source§impl MetricDestinationSummary
impl MetricDestinationSummary
sourcepub fn destination(&self) -> Option<&MetricDestination>
pub fn destination(&self) -> Option<&MetricDestination>
Specifies whether the destination is CloudWatch or Evidently.
sourcepub fn destination_arn(&self) -> Option<&str>
pub fn destination_arn(&self) -> Option<&str>
If the destination is Evidently, this specifies the ARN of the Evidently experiment that receives the metrics.
sourcepub fn iam_role_arn(&self) -> Option<&str>
pub fn iam_role_arn(&self) -> Option<&str>
This field appears only when the destination is Evidently. It specifies the ARN of the IAM role that is used to write to the Evidently experiment that receives the metrics.
source§impl MetricDestinationSummary
impl MetricDestinationSummary
sourcepub fn builder() -> MetricDestinationSummaryBuilder
pub fn builder() -> MetricDestinationSummaryBuilder
Creates a new builder-style object to manufacture MetricDestinationSummary.
Trait Implementations§
source§impl Clone for MetricDestinationSummary
impl Clone for MetricDestinationSummary
source§fn clone(&self) -> MetricDestinationSummary
fn clone(&self) -> MetricDestinationSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for MetricDestinationSummary
impl Debug for MetricDestinationSummary
source§impl PartialEq for MetricDestinationSummary
impl PartialEq for MetricDestinationSummary
source§fn eq(&self, other: &MetricDestinationSummary) -> bool
fn eq(&self, other: &MetricDestinationSummary) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for MetricDestinationSummary
Auto Trait Implementations§
impl Freeze for MetricDestinationSummary
impl RefUnwindSafe for MetricDestinationSummary
impl Send for MetricDestinationSummary
impl Sync for MetricDestinationSummary
impl Unpin for MetricDestinationSummary
impl UnwindSafe for MetricDestinationSummary
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> 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