Enum googapis::google::firestore::v1beta1::precondition::ConditionType [−][src]
Expand description
The type of precondition.
Variants
Exists(bool)
When set to true
, the target document must exist.
When set to false
, the target document must not exist.
Tuple Fields of Exists
0: bool
UpdateTime(Timestamp)
When set, the target document must exist and have been last updated at that time.
Tuple Fields of UpdateTime
0: Timestamp
Implementations
pub fn merge<B>(
field: &mut Option<ConditionType>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ConditionType
impl Send for ConditionType
impl Sync for ConditionType
impl Unpin for ConditionType
impl UnwindSafe for ConditionType
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more