Struct aws_sdk_pi::types::FeatureMetadata
source · #[non_exhaustive]pub struct FeatureMetadata {
pub status: Option<FeatureStatus>,
}
Expand description
The metadata for a feature. For example, the metadata might indicate that a feature is turned on or off on a specific DB instance.
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.status: Option<FeatureStatus>
The status of the feature on the DB instance. Possible values include the following:
-
ENABLED
- The feature is enabled on the instance. -
DISABLED
- The feature is disabled on the instance. -
UNSUPPORTED
- The feature isn't supported on the instance. -
ENABLED_PENDING_REBOOT
- The feature is enabled on the instance but requires a reboot to take effect. -
DISABLED_PENDING_REBOOT
- The feature is disabled on the instance but requires a reboot to take effect. -
UNKNOWN
- The feature status couldn't be determined.
Implementations§
source§impl FeatureMetadata
impl FeatureMetadata
sourcepub fn status(&self) -> Option<&FeatureStatus>
pub fn status(&self) -> Option<&FeatureStatus>
The status of the feature on the DB instance. Possible values include the following:
-
ENABLED
- The feature is enabled on the instance. -
DISABLED
- The feature is disabled on the instance. -
UNSUPPORTED
- The feature isn't supported on the instance. -
ENABLED_PENDING_REBOOT
- The feature is enabled on the instance but requires a reboot to take effect. -
DISABLED_PENDING_REBOOT
- The feature is disabled on the instance but requires a reboot to take effect. -
UNKNOWN
- The feature status couldn't be determined.
source§impl FeatureMetadata
impl FeatureMetadata
sourcepub fn builder() -> FeatureMetadataBuilder
pub fn builder() -> FeatureMetadataBuilder
Creates a new builder-style object to manufacture FeatureMetadata
.
Trait Implementations§
source§impl Clone for FeatureMetadata
impl Clone for FeatureMetadata
source§fn clone(&self) -> FeatureMetadata
fn clone(&self) -> FeatureMetadata
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FeatureMetadata
impl Debug for FeatureMetadata
source§impl PartialEq for FeatureMetadata
impl PartialEq for FeatureMetadata
source§fn eq(&self, other: &FeatureMetadata) -> bool
fn eq(&self, other: &FeatureMetadata) -> bool
self
and other
values to be equal, and is used
by ==
.