Struct aws_sdk_sesv2::types::MetricDataError
source · #[non_exhaustive]pub struct MetricDataError { /* private fields */ }Expand description
An error corresponding to the unsuccessful processing of a single metric data query.
Implementations§
source§impl MetricDataError
impl MetricDataError
sourcepub fn code(&self) -> Option<&QueryErrorCode>
pub fn code(&self) -> Option<&QueryErrorCode>
The query error code. Can be one of:
-
INTERNAL_FAILURE– Amazon SES has failed to process one of the queries. -
ACCESS_DENIED– You have insufficient access to retrieve metrics based on the given query.
source§impl MetricDataError
impl MetricDataError
sourcepub fn builder() -> MetricDataErrorBuilder
pub fn builder() -> MetricDataErrorBuilder
Creates a new builder-style object to manufacture MetricDataError.
Trait Implementations§
source§impl Clone for MetricDataError
impl Clone for MetricDataError
source§fn clone(&self) -> MetricDataError
fn clone(&self) -> MetricDataError
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 MetricDataError
impl Debug for MetricDataError
source§impl PartialEq<MetricDataError> for MetricDataError
impl PartialEq<MetricDataError> for MetricDataError
source§fn eq(&self, other: &MetricDataError) -> bool
fn eq(&self, other: &MetricDataError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.