Struct sea_orm::SelectTwoModel
source · pub struct SelectTwoModel<M, N>where
M: FromQueryResult,
N: FromQueryResult,{ /* private fields */ }
Expand description
Defines a type to get two Models
Trait Implementations§
source§impl<M, N> Clone for SelectTwoModel<M, N>
impl<M, N> Clone for SelectTwoModel<M, N>
source§fn clone(&self) -> SelectTwoModel<M, N>
fn clone(&self) -> SelectTwoModel<M, N>
Returns a copy 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<M, N> Debug for SelectTwoModel<M, N>
impl<M, N> Debug for SelectTwoModel<M, N>
source§impl<M, N> SelectorTrait for SelectTwoModel<M, N>
impl<M, N> SelectorTrait for SelectTwoModel<M, N>
type Item = (M, Option<N>)
source§fn from_raw_query_result(res: QueryResult) -> Result<Self::Item, DbErr>
fn from_raw_query_result(res: QueryResult) -> Result<Self::Item, DbErr>
The method to perform a query on a Model
Auto Trait Implementations§
impl<M, N> Freeze for SelectTwoModel<M, N>
impl<M, N> RefUnwindSafe for SelectTwoModel<M, N>where
M: RefUnwindSafe,
N: RefUnwindSafe,
impl<M, N> Send for SelectTwoModel<M, N>
impl<M, N> Sync for SelectTwoModel<M, N>
impl<M, N> Unpin for SelectTwoModel<M, N>
impl<M, N> UnwindSafe for SelectTwoModel<M, N>where
M: UnwindSafe,
N: UnwindSafe,
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