Struct aws_sdk_ec2::types::DataResponse
source · #[non_exhaustive]pub struct DataResponse { /* private fields */ }
Expand description
The response to a DataQuery
.
Implementations§
source§impl DataResponse
impl DataResponse
sourcepub fn source(&self) -> Option<&str>
pub fn source(&self) -> Option<&str>
The Region or Availability Zone that's the source for the data query. For example, us-east-1
.
sourcepub fn destination(&self) -> Option<&str>
pub fn destination(&self) -> Option<&str>
The Region or Availability Zone that's the destination for the data query. For example, eu-west-1
.
sourcepub fn metric(&self) -> Option<&MetricType>
pub fn metric(&self) -> Option<&MetricType>
The metric used for the network performance request. Only aggregate-latency
is supported, which shows network latency during a specified period.
sourcepub fn statistic(&self) -> Option<&StatisticType>
pub fn statistic(&self) -> Option<&StatisticType>
The statistic used for the network performance request.
sourcepub fn period(&self) -> Option<&PeriodType>
pub fn period(&self) -> Option<&PeriodType>
The period used for the network performance request.
sourcepub fn metric_points(&self) -> Option<&[MetricPoint]>
pub fn metric_points(&self) -> Option<&[MetricPoint]>
A list of MetricPoint
objects.
source§impl DataResponse
impl DataResponse
sourcepub fn builder() -> DataResponseBuilder
pub fn builder() -> DataResponseBuilder
Creates a new builder-style object to manufacture DataResponse
.
Trait Implementations§
source§impl Clone for DataResponse
impl Clone for DataResponse
source§fn clone(&self) -> DataResponse
fn clone(&self) -> DataResponse
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 DataResponse
impl Debug for DataResponse
source§impl PartialEq<DataResponse> for DataResponse
impl PartialEq<DataResponse> for DataResponse
source§fn eq(&self, other: &DataResponse) -> bool
fn eq(&self, other: &DataResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DataResponse
Auto Trait Implementations§
impl RefUnwindSafe for DataResponse
impl Send for DataResponse
impl Sync for DataResponse
impl Unpin for DataResponse
impl UnwindSafe for DataResponse
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