Enum googapis::google::firestore::admin::v1beta2::index::QueryScope [−][src]
#[repr(i32)]
pub enum QueryScope {
Unspecified,
Collection,
CollectionGroup,
}
Expand description
Query Scope defines the scope at which a query is run. This is specified on
a StructuredQuery’s from
field.
Variants
The query scope is unspecified. Not a valid option.
Indexes with a collection query scope specified allow queries against a collection that is the child of a specific document, specified at query time, and that has the collection id specified by the index.
Indexes with a collection group query scope specified allow queries against all collections that has the collection id specified by the index.
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 QueryScope
impl Send for QueryScope
impl Sync for QueryScope
impl Unpin for QueryScope
impl UnwindSafe for QueryScope
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