Struct aws_sdk_iotwireless::types::SummaryMetricQuery
source · #[non_exhaustive]pub struct SummaryMetricQuery {
pub query_id: Option<String>,
pub metric_name: Option<MetricName>,
pub dimensions: Option<Vec<Dimension>>,
pub aggregation_period: Option<AggregationPeriod>,
pub start_timestamp: Option<DateTime>,
pub end_timestamp: Option<DateTime>,
}Expand description
The metric query object.
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.query_id: Option<String>The id of the query.
metric_name: Option<MetricName>The name of the metric.
dimensions: Option<Vec<Dimension>>The dimensions of the metric.
aggregation_period: Option<AggregationPeriod>The aggregation period of the metric.
start_timestamp: Option<DateTime>The start timestamp for summary metric query.
end_timestamp: Option<DateTime>The end timestamp for summary metric query.
Implementations§
source§impl SummaryMetricQuery
impl SummaryMetricQuery
sourcepub fn metric_name(&self) -> Option<&MetricName>
pub fn metric_name(&self) -> Option<&MetricName>
The name of the metric.
sourcepub fn dimensions(&self) -> &[Dimension]
pub fn dimensions(&self) -> &[Dimension]
The dimensions of the metric.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .dimensions.is_none().
sourcepub fn aggregation_period(&self) -> Option<&AggregationPeriod>
pub fn aggregation_period(&self) -> Option<&AggregationPeriod>
The aggregation period of the metric.
sourcepub fn start_timestamp(&self) -> Option<&DateTime>
pub fn start_timestamp(&self) -> Option<&DateTime>
The start timestamp for summary metric query.
sourcepub fn end_timestamp(&self) -> Option<&DateTime>
pub fn end_timestamp(&self) -> Option<&DateTime>
The end timestamp for summary metric query.
source§impl SummaryMetricQuery
impl SummaryMetricQuery
sourcepub fn builder() -> SummaryMetricQueryBuilder
pub fn builder() -> SummaryMetricQueryBuilder
Creates a new builder-style object to manufacture SummaryMetricQuery.
Trait Implementations§
source§impl Clone for SummaryMetricQuery
impl Clone for SummaryMetricQuery
source§fn clone(&self) -> SummaryMetricQuery
fn clone(&self) -> SummaryMetricQuery
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 SummaryMetricQuery
impl Debug for SummaryMetricQuery
source§impl PartialEq for SummaryMetricQuery
impl PartialEq for SummaryMetricQuery
source§fn eq(&self, other: &SummaryMetricQuery) -> bool
fn eq(&self, other: &SummaryMetricQuery) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SummaryMetricQuery
Auto Trait Implementations§
impl Freeze for SummaryMetricQuery
impl RefUnwindSafe for SummaryMetricQuery
impl Send for SummaryMetricQuery
impl Sync for SummaryMetricQuery
impl Unpin for SummaryMetricQuery
impl UnwindSafe for SummaryMetricQuery
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
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>
Creates a shared type from an unshared type.