pub struct TimeToLiveSpecification {
pub attribute_name: String,
pub enabled: bool,
}Expand description
Time-to-Live specification for enabling or disabling TTL on a table.
Fields§
§attribute_name: StringThe name of the TTL attribute used to store the expiration time.
enabled: boolWhether TTL is enabled (true) or disabled (false).
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<'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
Auto Trait Implementations§
impl Freeze for TimeToLiveSpecification
impl RefUnwindSafe for TimeToLiveSpecification
impl Send for TimeToLiveSpecification
impl Sync for TimeToLiveSpecification
impl Unpin for TimeToLiveSpecification
impl UnsafeUnpin 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