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 Modelss
Trait Implementations
sourceimpl<M: Clone, N: Clone> Clone for SelectTwoModel<M, N> where
M: FromQueryResult,
N: FromQueryResult,
impl<M: Clone, N: Clone> Clone for SelectTwoModel<M, N> where
M: FromQueryResult,
N: FromQueryResult,
sourcefn clone(&self) -> SelectTwoModel<M, N>
fn clone(&self) -> SelectTwoModel<M, N>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<M: Debug, N: Debug> Debug for SelectTwoModel<M, N> where
M: FromQueryResult,
N: FromQueryResult,
impl<M: Debug, N: Debug> Debug for SelectTwoModel<M, N> where
M: FromQueryResult,
N: FromQueryResult,
sourceimpl<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>)
sourcefn 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> RefUnwindSafe for SelectTwoModel<M, N> where
M: RefUnwindSafe,
N: RefUnwindSafe,
impl<M, N> Send for SelectTwoModel<M, N> where
M: Send,
N: Send,
impl<M, N> Sync for SelectTwoModel<M, N> where
M: Sync,
N: Sync,
impl<M, N> Unpin for SelectTwoModel<M, N> where
M: Unpin,
N: Unpin,
impl<M, N> UnwindSafe for SelectTwoModel<M, N> where
M: UnwindSafe,
N: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more