#[non_exhaustive]pub struct CreateCustomMetricOutput {
    pub metric_name: Option<String>,
    pub metric_arn: Option<String>,
    /* private fields */
}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.metric_name: Option<String>The name of the custom metric to be used in the metric report.
metric_arn: Option<String> The Amazon Resource Number (ARN) of the custom metric. For example, arn:aws-partition:iot:region:accountId:custommetric/metricName  
Implementations§
source§impl CreateCustomMetricOutput
 
impl CreateCustomMetricOutput
sourcepub fn metric_name(&self) -> Option<&str>
 
pub fn metric_name(&self) -> Option<&str>
The name of the custom metric to be used in the metric report.
sourcepub fn metric_arn(&self) -> Option<&str>
 
pub fn metric_arn(&self) -> Option<&str>
 The Amazon Resource Number (ARN) of the custom metric. For example, arn:aws-partition:iot:region:accountId:custommetric/metricName  
source§impl CreateCustomMetricOutput
 
impl CreateCustomMetricOutput
sourcepub fn builder() -> CreateCustomMetricOutputBuilder
 
pub fn builder() -> CreateCustomMetricOutputBuilder
Creates a new builder-style object to manufacture CreateCustomMetricOutput.
Trait Implementations§
source§impl Clone for CreateCustomMetricOutput
 
impl Clone for CreateCustomMetricOutput
source§fn clone(&self) -> CreateCustomMetricOutput
 
fn clone(&self) -> CreateCustomMetricOutput
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 CreateCustomMetricOutput
 
impl Debug for CreateCustomMetricOutput
source§impl PartialEq for CreateCustomMetricOutput
 
impl PartialEq for CreateCustomMetricOutput
source§fn eq(&self, other: &CreateCustomMetricOutput) -> bool
 
fn eq(&self, other: &CreateCustomMetricOutput) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl RequestId for CreateCustomMetricOutput
 
impl RequestId for CreateCustomMetricOutput
source§fn request_id(&self) -> Option<&str>
 
fn request_id(&self) -> Option<&str>
Returns the request ID, or 
None if the service could not be reached.impl StructuralPartialEq for CreateCustomMetricOutput
Auto Trait Implementations§
impl RefUnwindSafe for CreateCustomMetricOutput
impl Send for CreateCustomMetricOutput
impl Sync for CreateCustomMetricOutput
impl Unpin for CreateCustomMetricOutput
impl UnwindSafe for CreateCustomMetricOutput
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