Struct aws_sdk_rbin::types::UnlockDelay
source · #[non_exhaustive]pub struct UnlockDelay {
pub unlock_delay_value: i32,
pub unlock_delay_unit: UnlockDelayUnit,
}
Expand description
Information about the retention rule unlock delay. The unlock delay is the period after which a retention rule can be modified or edited after it has been unlocked by a user with the required permissions. The retention rule can't be modified or deleted during the unlock delay.
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.unlock_delay_value: i32
The unlock delay period, measured in the unit specified for UnlockDelayUnit.
unlock_delay_unit: UnlockDelayUnit
The unit of time in which to measure the unlock delay. Currently, the unlock delay can be measure only in days.
Implementations§
source§impl UnlockDelay
impl UnlockDelay
sourcepub fn unlock_delay_value(&self) -> i32
pub fn unlock_delay_value(&self) -> i32
The unlock delay period, measured in the unit specified for UnlockDelayUnit.
sourcepub fn unlock_delay_unit(&self) -> &UnlockDelayUnit
pub fn unlock_delay_unit(&self) -> &UnlockDelayUnit
The unit of time in which to measure the unlock delay. Currently, the unlock delay can be measure only in days.
source§impl UnlockDelay
impl UnlockDelay
sourcepub fn builder() -> UnlockDelayBuilder
pub fn builder() -> UnlockDelayBuilder
Creates a new builder-style object to manufacture UnlockDelay
.
Trait Implementations§
source§impl Clone for UnlockDelay
impl Clone for UnlockDelay
source§fn clone(&self) -> UnlockDelay
fn clone(&self) -> UnlockDelay
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 UnlockDelay
impl Debug for UnlockDelay
source§impl PartialEq for UnlockDelay
impl PartialEq for UnlockDelay
source§fn eq(&self, other: &UnlockDelay) -> bool
fn eq(&self, other: &UnlockDelay) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UnlockDelay
Auto Trait Implementations§
impl RefUnwindSafe for UnlockDelay
impl Send for UnlockDelay
impl Sync for UnlockDelay
impl Unpin for UnlockDelay
impl UnwindSafe for UnlockDelay
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.