pub struct UpdateQueryPlan<'a, C: QueryContext>{ /* private fields */ }Implementations§
Source§impl<'a, C> UpdateQueryPlan<'a, C>
impl<'a, C> UpdateQueryPlan<'a, C>
Trait Implementations§
Source§impl<'a, C> ExecutablePlan<C> for UpdateQueryPlan<'a, C>
impl<'a, C> ExecutablePlan<C> for UpdateQueryPlan<'a, C>
Source§impl<'a, C> FetchablePlan<C> for UpdateQueryPlan<'a, C>
impl<'a, C> FetchablePlan<C> for UpdateQueryPlan<'a, C>
fn fetch_one<'e, 'life0, 'async_trait, E>( &'life0 self, exec: E, ) -> Pin<Box<dyn Future<Output = Result<C::Model, Error>> + Send + 'async_trait>>
fn fetch_all<'e, 'life0, 'async_trait, E>( &'life0 self, exec: E, ) -> Pin<Box<dyn Future<Output = Result<Vec<C::Model>, Error>> + Send + 'async_trait>>
fn fetch_optional<'e, 'life0, 'async_trait, E>( &'life0 self, exec: E, ) -> Pin<Box<dyn Future<Output = Result<Option<C::Model>, Error>> + Send + 'async_trait>>
impl<'a, C> Planable<C> for UpdateQueryPlan<'a, C>
Auto Trait Implementations§
impl<'a, C> Freeze for UpdateQueryPlan<'a, C>where
<<C as QueryContext>::Model as Updatable>::UpdateModel: Freeze,
<C as QueryContext>::Query: Freeze,
impl<'a, C> RefUnwindSafe for UpdateQueryPlan<'a, C>where
<<C as QueryContext>::Model as Updatable>::UpdateModel: RefUnwindSafe,
<C as QueryContext>::Query: RefUnwindSafe,
impl<'a, C> Send for UpdateQueryPlan<'a, C>
impl<'a, C> Sync for UpdateQueryPlan<'a, C>
impl<'a, C> Unpin for UpdateQueryPlan<'a, C>where
<<C as QueryContext>::Model as Updatable>::UpdateModel: Unpin,
<C as QueryContext>::Query: Unpin,
impl<'a, C> UnwindSafe for UpdateQueryPlan<'a, C>where
<<C as QueryContext>::Model as Updatable>::UpdateModel: UnwindSafe,
<C as QueryContext>::Query: 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> GetDeleteMarker for T
impl<T> GetDeleteMarker for T
default fn delete_marker_field() -> Option<&'static str>
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