Struct aws_lambda_events::event::sns::CloudWatchMetric
source · pub struct CloudWatchMetric {
pub dimensions: Vec<CloudWatchDimension>,
pub metric_name: Option<String>,
pub namespace: Option<String>,
}
Fields§
§dimensions: Vec<CloudWatchDimension>
§metric_name: Option<String>
§namespace: Option<String>
Trait Implementations§
source§impl Clone for CloudWatchMetric
impl Clone for CloudWatchMetric
source§fn clone(&self) -> CloudWatchMetric
fn clone(&self) -> CloudWatchMetric
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 CloudWatchMetric
impl Debug for CloudWatchMetric
source§impl Default for CloudWatchMetric
impl Default for CloudWatchMetric
source§fn default() -> CloudWatchMetric
fn default() -> CloudWatchMetric
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CloudWatchMetric
impl<'de> Deserialize<'de> for CloudWatchMetric
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for CloudWatchMetric
impl PartialEq for CloudWatchMetric
source§fn eq(&self, other: &CloudWatchMetric) -> bool
fn eq(&self, other: &CloudWatchMetric) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CloudWatchMetric
impl Serialize for CloudWatchMetric
impl StructuralPartialEq for CloudWatchMetric
Auto Trait Implementations§
impl Freeze for CloudWatchMetric
impl RefUnwindSafe for CloudWatchMetric
impl Send for CloudWatchMetric
impl Sync for CloudWatchMetric
impl Unpin for CloudWatchMetric
impl UnwindSafe for CloudWatchMetric
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