Struct google_datastore1_beta3::api::EntityResult
source · pub struct EntityResult {
pub create_time: Option<DateTime<Utc>>,
pub cursor: Option<Vec<u8>>,
pub entity: Option<Entity>,
pub update_time: Option<DateTime<Utc>>,
pub version: Option<i64>,
}
Expand description
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§
§create_time: Option<DateTime<Utc>>
The time at which the entity was created. This field is set for FULL
entity results. If this entity is missing, this field will not be set.
cursor: Option<Vec<u8>>
A cursor that points to the position after the result entity. Set only when the EntityResult
is part of a QueryResultBatch
message.
entity: Option<Entity>
The resulting entity.
update_time: Option<DateTime<Utc>>
The time at which the entity was last changed. This field is set for FULL
entity results. If this entity is missing, this field will not be set.
version: Option<i64>
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.
Trait Implementations§
source§impl Clone for EntityResult
impl Clone for EntityResult
source§fn clone(&self) -> EntityResult
fn clone(&self) -> EntityResult
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more