Struct photon_indexer::migration::sea_orm::SelectModel
source · pub struct SelectModel<M>where
M: FromQueryResult,{ /* private fields */ }Expand description
Defines a type to get a Model
Trait Implementations§
source§impl<M> Debug for SelectModel<M>where
M: Debug + FromQueryResult,
impl<M> Debug for SelectModel<M>where
M: Debug + FromQueryResult,
source§impl<M> SelectorTrait for SelectModel<M>where
M: FromQueryResult,
impl<M> SelectorTrait for SelectModel<M>where
M: FromQueryResult,
type Item = M
source§fn from_raw_query_result(
res: QueryResult
) -> Result<<SelectModel<M> as SelectorTrait>::Item, DbErr>
fn from_raw_query_result( res: QueryResult ) -> Result<<SelectModel<M> as SelectorTrait>::Item, DbErr>
The method to perform a query on a Model
Auto Trait Implementations§
impl<M> Freeze for SelectModel<M>
impl<M> RefUnwindSafe for SelectModel<M>where
M: RefUnwindSafe,
impl<M> Send for SelectModel<M>where
M: Send,
impl<M> Sync for SelectModel<M>where
M: Sync,
impl<M> Unpin for SelectModel<M>where
M: Unpin,
impl<M> UnwindSafe for SelectModel<M>where
M: UnwindSafe,
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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> 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