Struct google_firestore1_beta1::Precondition[][src]

pub struct Precondition {
    pub update_time: Option<String>,
    pub exists: Option<bool>,
}

A precondition on a document, used for conditional operations.

This type is not used in any activity, and only used as part of another schema.

Fields

When set, the target document must exist and have been last updated at that time.

When set to true, the target document must exist. When set to false, the target document must not exist.

Trait Implementations

impl Default for Precondition
[src]

Returns the "default value" for a type. Read more

impl Clone for Precondition
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Precondition
[src]

Formats the value using the given formatter. Read more

impl Part for Precondition
[src]

Auto Trait Implementations