pub struct MutationStatementContext<'a, S: Clone + 'static> {
pub query: QueryContext<'a, S>,
pub mutation: MutationExecutionContext<'a, S>,
pub snapshots: &'a dyn MutationSnapshots<S>,
}Fields§
§query: QueryContext<'a, S>§mutation: MutationExecutionContext<'a, S>§snapshots: &'a dyn MutationSnapshots<S>Implementations§
Source§impl<'a, S: Clone + 'static> MutationStatementContext<'a, S>
impl<'a, S: Clone + 'static> MutationStatementContext<'a, S>
pub fn with_destination<'b>(
self,
destination: Option<ReturningDestination<'b>>,
) -> MutationStatementContext<'b, S>where
'a: 'b,
pub fn insert_source(&self) -> InsertSourceContext<'a, S>
Trait Implementations§
impl<S: Clone + 'static> Copy for MutationStatementContext<'_, S>
Auto Trait Implementations§
impl<'a, S> !RefUnwindSafe for MutationStatementContext<'a, S>
impl<'a, S> !Send for MutationStatementContext<'a, S>
impl<'a, S> !Sync for MutationStatementContext<'a, S>
impl<'a, S> !UnwindSafe for MutationStatementContext<'a, S>
impl<'a, S> Freeze for MutationStatementContext<'a, S>where
QueryContext<'a, S>: Freeze,
MutationExecutionContext<'a, S>: Freeze,
&'a dyn MutationSnapshots<S>: Freeze,
impl<'a, S> Unpin for MutationStatementContext<'a, S>where
QueryContext<'a, S>: Unpin,
MutationExecutionContext<'a, S>: Unpin,
&'a dyn MutationSnapshots<S>: Unpin,
impl<'a, S> UnsafeUnpin for MutationStatementContext<'a, S>where
QueryContext<'a, S>: UnsafeUnpin,
MutationExecutionContext<'a, S>: UnsafeUnpin,
&'a dyn MutationSnapshots<S>: UnsafeUnpin,
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,
impl<T> ErasedDestructor for Twhere
T: 'static,
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