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
sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
sourceยงdefault unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
๐ฌThis is a nightly-only experimental API. (
clone_to_uninit)sourceยงimpl<T> Instrument for T
impl<T> Instrument for T
sourceยงfn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourceยงfn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceยงimpl<T> IntoEither for T
impl<T> IntoEither for T
sourceยงfn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresourceยงfn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more