Struct aws_sdk_keyspaces::types::TimeToLive
source · #[non_exhaustive]pub struct TimeToLive { /* private fields */ }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.
Implementations§
source§impl TimeToLive
impl TimeToLive
sourcepub fn status(&self) -> Option<&TimeToLiveStatus>
pub fn status(&self) -> Option<&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<TimeToLive> for TimeToLive
impl PartialEq<TimeToLive> 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