pub struct RelationSelection {
pub name: String,
pub query: SelectQuery,
pub relation_selections: Vec<RelationSelection>,
pub relation_filters: Vec<RelationFilter>,
pub child_enhancements: Vec<QuerySelection>,
pub query_options: QueryOptions,
}Fields§
§name: String§query: SelectQuery§relation_selections: Vec<RelationSelection>§relation_filters: Vec<RelationFilter>§child_enhancements: Vec<QuerySelection>§query_options: QueryOptionsImplementations§
Source§impl RelationSelection
impl RelationSelection
pub fn new( name: impl Into<String>, selection: impl Into<QuerySelection>, ) -> Self
pub fn into_query(self) -> SelectQuery
Trait Implementations§
Source§impl Clone for RelationSelection
impl Clone for RelationSelection
Source§fn clone(&self) -> RelationSelection
fn clone(&self) -> RelationSelection
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 RelationSelection
impl Debug for RelationSelection
Source§impl PartialEq for RelationSelection
impl PartialEq for RelationSelection
Source§fn eq(&self, other: &RelationSelection) -> bool
fn eq(&self, other: &RelationSelection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RelationSelection
Auto Trait Implementations§
impl Freeze for RelationSelection
impl RefUnwindSafe for RelationSelection
impl Send for RelationSelection
impl Sync for RelationSelection
impl Unpin for RelationSelection
impl UnsafeUnpin for RelationSelection
impl UnwindSafe for RelationSelection
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