[][src]Struct gcp_client::google::datastore::v1::EntityResult

pub struct EntityResult {
    pub entity: Option<Entity>,
    pub version: i64,
    pub cursor: Vec<u8>,
}

The result of fetching an entity from Datastore.

Fields

entity: Option<Entity>

The resulting entity.

version: i64

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

This field is set for [FULL][google.datastore.v1.EntityResult.ResultType.FULL] entity results.

For [missing][google.datastore.v1.LookupResponse.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.

cursor: Vec<u8>

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

Trait Implementations

impl Clone for EntityResult[src]

impl Debug for EntityResult[src]

impl Default for EntityResult[src]

impl Message for EntityResult[src]

impl PartialEq<EntityResult> for EntityResult[src]

impl StructuralPartialEq for EntityResult[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]