pub struct StructuredQuery {
pub select: Option<Projection>,
pub from: Option<Vec<CollectionSelector>>,
pub where_clause: Option<QueryFilter>,
pub order_by: Option<Vec<Order>>,
pub start_at: Option<Cursor>,
pub end_at: Option<Cursor>,
pub offset: Option<i32>,
pub limit: Option<i32>,
}Expand description
A Firestore query.
Fields§
§select: Option<Projection>The projection to return.
from: Option<Vec<CollectionSelector>>The collections to query.
where_clause: Option<QueryFilter>The filter to apply.
order_by: Option<Vec<Order>>The order to apply to the query results.
start_at: Option<Cursor>A potential prefix of a position in the result set to start the query at.
end_at: Option<Cursor>A potential prefix of a position in the result set to end the query at.
offset: Option<i32>The number of results to skip.
limit: Option<i32>The maximum number of results to return.
Trait Implementations§
Source§impl Clone for StructuredQuery
impl Clone for StructuredQuery
Source§fn clone(&self) -> StructuredQuery
fn clone(&self) -> StructuredQuery
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StructuredQuery
impl Debug for StructuredQuery
Source§impl<'de> Deserialize<'de> for StructuredQuery
impl<'de> Deserialize<'de> for StructuredQuery
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for StructuredQuery
impl RefUnwindSafe for StructuredQuery
impl Send for StructuredQuery
impl Sync for StructuredQuery
impl Unpin for StructuredQuery
impl UnwindSafe for StructuredQuery
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more