Enum googapis::google::datastore::v1::entity_result::ResultType [−][src]
#[repr(i32)]
pub enum ResultType {
Unspecified,
Full,
Projection,
KeyOnly,
}
Expand description
Specifies what data the ‘entity’ field contains.
A ResultType
is either implied (for example, in LookupResponse.missing
from datastore.proto
, it is always KEY_ONLY
) or specified by context
(for example, in message QueryResultBatch
, field entity_result_type
specifies a ResultType
for all the values in field entity_results
).
Variants
Unspecified. This value is never used.
The key and properties.
A projected subset of properties. The entity may have no key.
Only the key.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for ResultType
impl Send for ResultType
impl Sync for ResultType
impl Unpin for ResultType
impl UnwindSafe for ResultType
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more