Struct google_datastore1::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
cursor: Option<String>
A cursor that points to the position after the result entity.
Set only when the EntityResult
is part of a QueryResultBatch
message.
version: Option<String>
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.
entity: Option<Entity>
The resulting entity.
Trait Implementations
impl Default for EntityResult
[src]
impl Default for EntityResult
fn default() -> EntityResult
[src]
fn default() -> EntityResult
Returns the "default value" for a type. Read more
impl Clone for EntityResult
[src]
impl Clone for EntityResult
fn clone(&self) -> EntityResult
[src]
fn clone(&self) -> EntityResult
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for EntityResult
[src]
impl Debug for EntityResult
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for EntityResult
[src]
impl Part for EntityResult
Auto Trait Implementations
impl Send for EntityResult
impl Send for EntityResult
impl Sync for EntityResult
impl Sync for EntityResult