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>where
M: FromQueryResult + Clone,
N: FromQueryResult + Clone,
impl<M, N> Clone for SelectTwoModel<M, N>where M: FromQueryResult + Clone, N: FromQueryResult + Clone,
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>where
M: FromQueryResult + Debug,
N: FromQueryResult + Debug,
impl<M, N> Debug for SelectTwoModel<M, N>where M: FromQueryResult + Debug, N: FromQueryResult + Debug,
source§impl<M, N> SelectorTrait for SelectTwoModel<M, N>where
M: FromQueryResult + Sized,
N: FromQueryResult + Sized,
impl<M, N> SelectorTrait for SelectTwoModel<M, N>where M: FromQueryResult + Sized, N: FromQueryResult + Sized,
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