Struct google_datastore1_beta3::EntityResult[][src]

pub struct EntityResult {
    pub cursor: Option<String>,
    pub version: Option<String>,
    pub entity: Option<Entity>,
}

The result of fetching an entity from Datastore.

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

Fields

A cursor that points to the position after the result entity. Set only when the EntityResult is part of a QueryResultBatch message.

The version of the entity, a strictly positive number that monotonically increases with changes to the entity.

This field is set for FULL entity results.

For missing entities in LookupResponse, this is the version of the snapshot that was used to look up the entity, and it is always set except for eventually consistent reads.

The resulting entity.

Trait Implementations

impl Default for EntityResult
[src]

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

impl Clone for EntityResult
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for EntityResult
[src]

Formats the value using the given formatter. Read more

impl Part for EntityResult
[src]

Auto Trait Implementations