Struct google_datastore1::Mutation[][src]

pub struct Mutation {
    pub insert: Option<Entity>,
    pub delete: Option<Key>,
    pub update: Option<Entity>,
    pub base_version: Option<String>,
    pub upsert: Option<Entity>,
}

A mutation to apply to an entity.

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

Fields

The entity to insert. The entity must not already exist. The entity key's final path element may be incomplete.

The key of the entity to delete. The entity may or may not already exist. Must have a complete key path and must not be reserved/read-only.

The entity to update. The entity must already exist. Must have a complete key path.

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.

The entity to upsert. The entity may or may not already exist. The entity key's final path element may be incomplete.

Trait Implementations

impl Default for Mutation
[src]

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

impl Clone for Mutation
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Mutation
[src]

Formats the value using the given formatter. Read more

impl Part for Mutation
[src]

Auto Trait Implementations

impl Send for Mutation

impl Sync for Mutation