Struct aws_sdk_rbin::operation::lock_rule::LockRuleInput
source · #[non_exhaustive]pub struct LockRuleInput {
pub identifier: Option<String>,
pub lock_configuration: Option<LockConfiguration>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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.
lock_configuration: Option<LockConfiguration>
Information about the retention rule lock configuration.
Implementations§
source§impl LockRuleInput
impl LockRuleInput
sourcepub fn identifier(&self) -> Option<&str>
pub fn identifier(&self) -> Option<&str>
The unique ID of the retention rule.
sourcepub fn lock_configuration(&self) -> Option<&LockConfiguration>
pub fn lock_configuration(&self) -> Option<&LockConfiguration>
Information about the retention rule lock configuration.
source§impl LockRuleInput
impl LockRuleInput
sourcepub fn builder() -> LockRuleInputBuilder
pub fn builder() -> LockRuleInputBuilder
Creates a new builder-style object to manufacture LockRuleInput
.
Trait Implementations§
source§impl Clone for LockRuleInput
impl Clone for LockRuleInput
source§fn clone(&self) -> LockRuleInput
fn clone(&self) -> LockRuleInput
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 LockRuleInput
impl Debug for LockRuleInput
source§impl PartialEq for LockRuleInput
impl PartialEq for LockRuleInput
source§fn eq(&self, other: &LockRuleInput) -> bool
fn eq(&self, other: &LockRuleInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LockRuleInput
Auto Trait Implementations§
impl Freeze for LockRuleInput
impl RefUnwindSafe for LockRuleInput
impl Send for LockRuleInput
impl Sync for LockRuleInput
impl Unpin for LockRuleInput
impl UnwindSafe for LockRuleInput
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.