Struct aws_sdk_rbin::output::GetRuleOutput
source · [−]#[non_exhaustive]pub struct GetRuleOutput {
pub identifier: Option<String>,
pub description: Option<String>,
pub resource_type: Option<ResourceType>,
pub retention_period: Option<RetentionPeriod>,
pub resource_tags: Option<Vec<ResourceTag>>,
pub status: Option<RuleStatus>,
}
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.identifier: Option<String>
The unique ID of the retention rule.
description: Option<String>
The description assigned to the retention rule.
resource_type: Option<ResourceType>
The resource type retained by the retention rule. Currently, only Amazon EBS snapshots are supported.
retention_period: Option<RetentionPeriod>
Information about the period for which the retention rule retains resources.
The resource tags used to identify resources that are to be retained by the retention rule.
status: Option<RuleStatus>
The state of the retention rule. Only retention rules that are in the available
state retain snapshots.
Implementations
The unique ID of the retention rule.
The description assigned to the retention rule.
The resource type retained by the retention rule. Currently, only Amazon EBS snapshots are supported.
Information about the period for which the retention rule retains resources.
The resource tags used to identify resources that are to be retained by the retention rule.
The state of the retention rule. Only retention rules that are in the available
state retain snapshots.
Creates a new builder-style object to manufacture GetRuleOutput
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for GetRuleOutput
impl Send for GetRuleOutput
impl Sync for GetRuleOutput
impl Unpin for GetRuleOutput
impl UnwindSafe for GetRuleOutput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more