pub struct MetricTransformation {
pub default_value: Option<f64>,
pub dimensions: HashMap<String, String>,
pub metric_name: String,
pub metric_namespace: String,
pub metric_value: String,
pub unit: Option<StandardUnit>,
}Expand description
CloudWatch Logs MetricTransformation.
Fields§
§default_value: Option<f64>§dimensions: HashMap<String, String>§metric_name: String§metric_namespace: String§metric_value: String§unit: Option<StandardUnit>Trait Implementations§
Source§impl Clone for MetricTransformation
impl Clone for MetricTransformation
Source§fn clone(&self) -> MetricTransformation
fn clone(&self) -> MetricTransformation
Returns a duplicate 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 MetricTransformation
impl Debug for MetricTransformation
Source§impl Default for MetricTransformation
impl Default for MetricTransformation
Source§fn default() -> MetricTransformation
fn default() -> MetricTransformation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MetricTransformation
impl<'de> Deserialize<'de> for MetricTransformation
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
Auto Trait Implementations§
impl Freeze for MetricTransformation
impl RefUnwindSafe for MetricTransformation
impl Send for MetricTransformation
impl Sync for MetricTransformation
impl Unpin for MetricTransformation
impl UnsafeUnpin for MetricTransformation
impl UnwindSafe for MetricTransformation
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