pub struct GoogleFirestoreAdminV1PitrSnapshot {
pub database: Option<String>,
pub database_uid: Option<Vec<u8>>,
pub snapshot_time: Option<DateTime<Utc>>,
}Expand description
A consistent snapshot of a database at a specific point in time. A PITR (Point-in-time recovery) snapshot with previous versions of a database’s data is available for every minute up to the associated database’s data retention period. If the PITR feature is enabled, the retention period is 7 days; otherwise, it is one hour.
This type is not used in any activity, and only used as part of another schema.
Fields§
§database: Option<String>Required. The name of the database that this was a snapshot of. Format: projects/{project}/databases/{database}.
database_uid: Option<Vec<u8>>Output only. Public UUID of the database the snapshot was associated with.
snapshot_time: Option<DateTime<Utc>>Required. Snapshot time of the database.
Trait Implementations§
Source§impl Clone for GoogleFirestoreAdminV1PitrSnapshot
impl Clone for GoogleFirestoreAdminV1PitrSnapshot
Source§fn clone(&self) -> GoogleFirestoreAdminV1PitrSnapshot
fn clone(&self) -> GoogleFirestoreAdminV1PitrSnapshot
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 GoogleFirestoreAdminV1PitrSnapshot
impl Default for GoogleFirestoreAdminV1PitrSnapshot
Source§fn default() -> GoogleFirestoreAdminV1PitrSnapshot
fn default() -> GoogleFirestoreAdminV1PitrSnapshot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleFirestoreAdminV1PitrSnapshot
impl<'de> Deserialize<'de> for GoogleFirestoreAdminV1PitrSnapshot
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 GoogleFirestoreAdminV1PitrSnapshot
Auto Trait Implementations§
impl Freeze for GoogleFirestoreAdminV1PitrSnapshot
impl RefUnwindSafe for GoogleFirestoreAdminV1PitrSnapshot
impl Send for GoogleFirestoreAdminV1PitrSnapshot
impl Sync for GoogleFirestoreAdminV1PitrSnapshot
impl Unpin for GoogleFirestoreAdminV1PitrSnapshot
impl UnwindSafe for GoogleFirestoreAdminV1PitrSnapshot
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