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>
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ยงunsafe fn clone_to_uninit(&self, dst: *mut T)
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