Enum googapis::google::datastore::v1beta3::mutation::ConflictDetectionStrategy [−][src]
pub enum ConflictDetectionStrategy {
BaseVersion(i64),
}
Expand description
When set, the server will detect whether or not this mutation conflicts with the current version of the entity on the server. Conflicting mutations are not applied, and are marked as such in MutationResult.
Variants
BaseVersion(i64)
The version of the entity that this mutation is being applied to. If this does not match the current version on the server, the mutation conflicts.
Tuple Fields of BaseVersion
0: i64
Implementations
pub fn merge<B>(
field: &mut Option<ConflictDetectionStrategy>,
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 ConflictDetectionStrategy
impl Send for ConflictDetectionStrategy
impl Sync for ConflictDetectionStrategy
impl Unpin for ConflictDetectionStrategy
impl UnwindSafe for ConflictDetectionStrategy
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