Struct google_firestore1_beta1::api::StructuredQuery [−][src]
A Firestore query.
This type is not used in any activity, and only used as part of another schema.
Fields
end_at: Option<Cursor>A end point for the query results.
from: Option<Vec<CollectionSelector>>The collections to query.
limit: Option<i32>The maximum number of results to return. Applies after all other constraints. Must be >= 0 if specified.
offset: Option<i32>The number of results to skip. Applies before limit, but after all other constraints. Must be >= 0 if specified.
order_by: Option<Vec<Order>>The order to apply to the query results. Firestore guarantees a stable ordering through the following rules: * Any field required to appear in order_by, that is not already specified in order_by, is appended to the order in field name order by default. * If an order on __name__ is not specified, it is appended by default. Fields are appended with the same sort direction as the last order specified, or 'ASCENDING' if no order was specified. For example: * SELECT * FROM Foo ORDER BY A becomes SELECT * FROM Foo ORDER BY A, __name__ * SELECT * FROM Foo ORDER BY A DESC becomes SELECT * FROM Foo ORDER BY A DESC, __name__ DESC * SELECT * FROM Foo WHERE A > 1 becomes SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__
select: Option<Projection>The projection to return.
start_at: Option<Cursor>A starting point for the query results.
where_: Option<Filter>The filter to apply.
Trait Implementations
impl Clone for StructuredQuery[src]
fn clone(&self) -> StructuredQuery[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for StructuredQuery[src]
impl Default for StructuredQuery[src]
fn default() -> StructuredQuery[src]
impl<'de> Deserialize<'de> for StructuredQuery[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl Part for StructuredQuery[src]
impl Serialize for StructuredQuery[src]
Auto Trait Implementations
impl RefUnwindSafe for StructuredQuery[src]
impl Send for StructuredQuery[src]
impl Sync for StructuredQuery[src]
impl Unpin for StructuredQuery[src]
impl UnwindSafe for StructuredQuery[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,