pub struct GoogleFirestoreAdminV1TtlConfig {
pub state: Option<String>,
}Expand description
The TTL (time-to-live) configuration for documents that have this Field set. Storing a timestamp value into a TTL-enabled field will be treated as the document’s absolute expiration time. Timestamp values in the past indicate that the document is eligible for immediate expiration. Using any other data type or leaving the field absent will disable expiration for the individual document.
This type is not used in any activity, and only used as part of another schema.
Fields§
§state: Option<String>Output only. The state of the TTL configuration.
Trait Implementations§
Source§impl Clone for GoogleFirestoreAdminV1TtlConfig
impl Clone for GoogleFirestoreAdminV1TtlConfig
Source§fn clone(&self) -> GoogleFirestoreAdminV1TtlConfig
fn clone(&self) -> GoogleFirestoreAdminV1TtlConfig
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 Default for GoogleFirestoreAdminV1TtlConfig
impl Default for GoogleFirestoreAdminV1TtlConfig
Source§fn default() -> GoogleFirestoreAdminV1TtlConfig
fn default() -> GoogleFirestoreAdminV1TtlConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleFirestoreAdminV1TtlConfig
impl<'de> Deserialize<'de> for GoogleFirestoreAdminV1TtlConfig
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
impl Part for GoogleFirestoreAdminV1TtlConfig
Auto Trait Implementations§
impl Freeze for GoogleFirestoreAdminV1TtlConfig
impl RefUnwindSafe for GoogleFirestoreAdminV1TtlConfig
impl Send for GoogleFirestoreAdminV1TtlConfig
impl Sync for GoogleFirestoreAdminV1TtlConfig
impl Unpin for GoogleFirestoreAdminV1TtlConfig
impl UnwindSafe for GoogleFirestoreAdminV1TtlConfig
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