Struct aws_sdk_pi::types::DimensionKeyDetail
source · #[non_exhaustive]pub struct DimensionKeyDetail {
pub value: Option<String>,
pub dimension: Option<String>,
pub status: Option<DetailStatus>,
}
Expand description
An object that describes the details for a specified dimension.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.value: Option<String>
The value of the dimension detail data. Depending on the return status, this value is either the full or truncated SQL query for the following dimensions:
-
db.query.statement
(Amazon DocumentDB) -
db.sql.statement
(Amazon RDS and Aurora)
dimension: Option<String>
The full name of the dimension. The full name includes the group name and key name. The following values are valid:
-
db.query.statement
(Amazon DocumentDB) -
db.sql.statement
(Amazon RDS and Aurora)
status: Option<DetailStatus>
The status of the dimension detail data. Possible values include the following:
-
AVAILABLE
- The dimension detail data is ready to be retrieved. -
PROCESSING
- The dimension detail data isn't ready to be retrieved because more processing time is required. If the requested detail data has the statusPROCESSING
, Performance Insights returns the truncated query. -
UNAVAILABLE
- The dimension detail data could not be collected successfully.
Implementations§
source§impl DimensionKeyDetail
impl DimensionKeyDetail
sourcepub fn value(&self) -> Option<&str>
pub fn value(&self) -> Option<&str>
The value of the dimension detail data. Depending on the return status, this value is either the full or truncated SQL query for the following dimensions:
-
db.query.statement
(Amazon DocumentDB) -
db.sql.statement
(Amazon RDS and Aurora)
sourcepub fn dimension(&self) -> Option<&str>
pub fn dimension(&self) -> Option<&str>
The full name of the dimension. The full name includes the group name and key name. The following values are valid:
-
db.query.statement
(Amazon DocumentDB) -
db.sql.statement
(Amazon RDS and Aurora)
sourcepub fn status(&self) -> Option<&DetailStatus>
pub fn status(&self) -> Option<&DetailStatus>
The status of the dimension detail data. Possible values include the following:
-
AVAILABLE
- The dimension detail data is ready to be retrieved. -
PROCESSING
- The dimension detail data isn't ready to be retrieved because more processing time is required. If the requested detail data has the statusPROCESSING
, Performance Insights returns the truncated query. -
UNAVAILABLE
- The dimension detail data could not be collected successfully.
source§impl DimensionKeyDetail
impl DimensionKeyDetail
sourcepub fn builder() -> DimensionKeyDetailBuilder
pub fn builder() -> DimensionKeyDetailBuilder
Creates a new builder-style object to manufacture DimensionKeyDetail
.
Trait Implementations§
source§impl Clone for DimensionKeyDetail
impl Clone for DimensionKeyDetail
source§fn clone(&self) -> DimensionKeyDetail
fn clone(&self) -> DimensionKeyDetail
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DimensionKeyDetail
impl Debug for DimensionKeyDetail
source§impl PartialEq for DimensionKeyDetail
impl PartialEq for DimensionKeyDetail
source§fn eq(&self, other: &DimensionKeyDetail) -> bool
fn eq(&self, other: &DimensionKeyDetail) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DimensionKeyDetail
Auto Trait Implementations§
impl Freeze for DimensionKeyDetail
impl RefUnwindSafe for DimensionKeyDetail
impl Send for DimensionKeyDetail
impl Sync for DimensionKeyDetail
impl Unpin for DimensionKeyDetail
impl UnwindSafe for DimensionKeyDetail
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more