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 ==
.impl StructuralPartialEq for FeatureMetadata
Auto Trait Implementations§
impl Freeze for FeatureMetadata
impl RefUnwindSafe for FeatureMetadata
impl Send for FeatureMetadata
impl Sync for FeatureMetadata
impl Unpin for FeatureMetadata
impl UnwindSafe for FeatureMetadata
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