pub struct QuerySelection {
pub query: SelectQuery,
pub relation_selections: Vec<RelationSelection>,
pub relation_filters: Vec<RelationFilter>,
pub child_enhancements: Vec<QuerySelection>,
pub query_options: QueryOptions,
}Fields§
§query: SelectQuery§relation_selections: Vec<RelationSelection>§relation_filters: Vec<RelationFilter>§child_enhancements: Vec<QuerySelection>§query_options: QueryOptionsImplementations§
Source§impl QuerySelection
impl QuerySelection
pub fn new(query: impl Into<SelectQuery>) -> Self
pub fn into_query(self) -> SelectQuery
Trait Implementations§
Source§impl Clone for QuerySelection
impl Clone for QuerySelection
Source§fn clone(&self) -> QuerySelection
fn clone(&self) -> QuerySelection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 QuerySelection
impl Debug for QuerySelection
Source§impl From<SelectQuery> for QuerySelection
impl From<SelectQuery> for QuerySelection
Source§fn from(query: SelectQuery) -> Self
fn from(query: SelectQuery) -> Self
Converts to this type from the input type.
Source§impl PartialEq for QuerySelection
impl PartialEq for QuerySelection
Source§fn eq(&self, other: &QuerySelection) -> bool
fn eq(&self, other: &QuerySelection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for QuerySelection
Auto Trait Implementations§
impl Freeze for QuerySelection
impl RefUnwindSafe for QuerySelection
impl Send for QuerySelection
impl Sync for QuerySelection
impl Unpin for QuerySelection
impl UnsafeUnpin for QuerySelection
impl UnwindSafe for QuerySelection
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