[][src]Struct google_firestore1_beta1::Precondition

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

update_time: Option<String>

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

exists: Option<bool>

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

Trait Implementations

impl Part for Precondition[src]

impl Default for Precondition[src]

impl Clone for Precondition[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Precondition[src]

impl Serialize for Precondition[src]

impl<'de> Deserialize<'de> for Precondition[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]