pub struct JoinedQuery {
pub primary: Query,
pub secondary_entity: String,
pub secondary_fields: Vec<String>,
pub secondary_order: Vec<SortKey>,
pub primary_key: String,
pub secondary_key: String,
pub secondary_filter: Option<Predicate>,
pub include_unmatched: bool,
}Expand description
One bounded, backend-neutral join of two declared entities.
Fields§
§primary: Query§secondary_entity: String§secondary_fields: Vec<String>§secondary_order: Vec<SortKey>§primary_key: String§secondary_key: String§secondary_filter: Option<Predicate>§include_unmatched: boolTrait Implementations§
Source§impl Clone for JoinedQuery
impl Clone for JoinedQuery
Source§fn clone(&self) -> JoinedQuery
fn clone(&self) -> JoinedQuery
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 JoinedQuery
impl Debug for JoinedQuery
Source§impl<'de> Deserialize<'de> for JoinedQuery
impl<'de> Deserialize<'de> for JoinedQuery
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
Source§impl PartialEq for JoinedQuery
impl PartialEq for JoinedQuery
Source§fn eq(&self, other: &JoinedQuery) -> bool
fn eq(&self, other: &JoinedQuery) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for JoinedQuery
impl Serialize for JoinedQuery
impl StructuralPartialEq for JoinedQuery
Auto Trait Implementations§
impl Freeze for JoinedQuery
impl RefUnwindSafe for JoinedQuery
impl Send for JoinedQuery
impl Sync for JoinedQuery
impl Unpin for JoinedQuery
impl UnsafeUnpin for JoinedQuery
impl UnwindSafe for JoinedQuery
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