pub struct TimeToLiveSpecification {
pub attribute_name: String,
pub enabled: bool,
}
Expand description
Represents the settings used to enable or disable Time to Live (TTL) for the specified table.
Fields§
§attribute_name: String
The name of the TTL attribute used to store the expiration time for items in the table.
enabled: bool
Indicates whether TTL is to be enabled (true) or disabled (false) on the table.
Trait Implementations§
Source§impl Clone for TimeToLiveSpecification
impl Clone for TimeToLiveSpecification
Source§fn clone(&self) -> TimeToLiveSpecification
fn clone(&self) -> TimeToLiveSpecification
Returns a duplicate 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 TimeToLiveSpecification
impl Debug for TimeToLiveSpecification
Source§impl Default for TimeToLiveSpecification
impl Default for TimeToLiveSpecification
Source§fn default() -> TimeToLiveSpecification
fn default() -> TimeToLiveSpecification
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TimeToLiveSpecification
impl<'de> Deserialize<'de> for TimeToLiveSpecification
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TimeToLiveSpecification
impl PartialEq for TimeToLiveSpecification
Source§impl Serialize for TimeToLiveSpecification
impl Serialize for TimeToLiveSpecification
impl StructuralPartialEq for TimeToLiveSpecification
Auto Trait Implementations§
impl Freeze for TimeToLiveSpecification
impl RefUnwindSafe for TimeToLiveSpecification
impl Send for TimeToLiveSpecification
impl Sync for TimeToLiveSpecification
impl Unpin for TimeToLiveSpecification
impl UnwindSafe for TimeToLiveSpecification
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