Struct aws_sdk_keyspaces::types::TimeToLive
source · #[non_exhaustive]pub struct TimeToLive {
pub status: TimeToLiveStatus,
}
Expand description
Enable custom Time to Live (TTL) settings for rows and columns without setting a TTL default for the specified table.
For more information, see Enabling TTL on tables in the Amazon Keyspaces Developer Guide.
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.status: TimeToLiveStatus
Shows how to enable custom Time to Live (TTL) settings for the specified table.
Implementations§
source§impl TimeToLive
impl TimeToLive
sourcepub fn status(&self) -> &TimeToLiveStatus
pub fn status(&self) -> &TimeToLiveStatus
Shows how to enable custom Time to Live (TTL) settings for the specified table.
source§impl TimeToLive
impl TimeToLive
sourcepub fn builder() -> TimeToLiveBuilder
pub fn builder() -> TimeToLiveBuilder
Creates a new builder-style object to manufacture TimeToLive
.
Trait Implementations§
source§impl Clone for TimeToLive
impl Clone for TimeToLive
source§fn clone(&self) -> TimeToLive
fn clone(&self) -> TimeToLive
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 TimeToLive
impl Debug for TimeToLive
source§impl PartialEq for TimeToLive
impl PartialEq for TimeToLive
source§fn eq(&self, other: &TimeToLive) -> bool
fn eq(&self, other: &TimeToLive) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TimeToLive
Auto Trait Implementations§
impl RefUnwindSafe for TimeToLive
impl Send for TimeToLive
impl Sync for TimeToLive
impl Unpin for TimeToLive
impl UnwindSafe for TimeToLive
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.