#[non_exhaustive]pub struct PublishMetricsInput {
pub environment_name: Option<String>,
pub metric_data: Option<Vec<MetricDatum>>,
}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.environment_name: Option<String>Internal only. The name of the environment.
metric_data: Option<Vec<MetricDatum>>Internal only. Publishes metrics to Amazon CloudWatch. To learn more about the metrics published to Amazon CloudWatch, see Amazon MWAA performance metrics in Amazon CloudWatch.
Implementations§
source§impl PublishMetricsInput
impl PublishMetricsInput
sourcepub fn environment_name(&self) -> Option<&str>
pub fn environment_name(&self) -> Option<&str>
Internal only. The name of the environment.
sourcepub fn metric_data(&self) -> Option<&[MetricDatum]>
pub fn metric_data(&self) -> Option<&[MetricDatum]>
Internal only. Publishes metrics to Amazon CloudWatch. To learn more about the metrics published to Amazon CloudWatch, see Amazon MWAA performance metrics in Amazon CloudWatch.
source§impl PublishMetricsInput
impl PublishMetricsInput
sourcepub fn builder() -> PublishMetricsInputBuilder
pub fn builder() -> PublishMetricsInputBuilder
Creates a new builder-style object to manufacture PublishMetricsInput.
Trait Implementations§
source§impl Clone for PublishMetricsInput
impl Clone for PublishMetricsInput
source§fn clone(&self) -> PublishMetricsInput
fn clone(&self) -> PublishMetricsInput
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 PublishMetricsInput
impl Debug for PublishMetricsInput
source§impl PartialEq<PublishMetricsInput> for PublishMetricsInput
impl PartialEq<PublishMetricsInput> for PublishMetricsInput
source§fn eq(&self, other: &PublishMetricsInput) -> bool
fn eq(&self, other: &PublishMetricsInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for PublishMetricsInput
Auto Trait Implementations§
impl RefUnwindSafe for PublishMetricsInput
impl Send for PublishMetricsInput
impl Sync for PublishMetricsInput
impl Unpin for PublishMetricsInput
impl UnwindSafe for PublishMetricsInput
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