pub struct Update<'a, State = NoneSet> { /* private fields */ }Expand description
A struct for building UPDATE queries.
The query can only be executed once at least one update has been made.
Implementations§
Trait Implementations§
source§impl<'a> IntoFuture for Update<'a, SomeSet>where
Update<'a, SomeSet>: ToQuery<'a, u64>,
Query<'a, u64>: Executable<Output = u64>,
impl<'a> IntoFuture for Update<'a, SomeSet>where Update<'a, SomeSet>: ToQuery<'a, u64>, Query<'a, u64>: Executable<Output = u64>,
§type IntoFuture = Pin<Box<dyn Future<Output = <Update<'a, SomeSet> as IntoFuture>::Output> + 'a, Global>>
type IntoFuture = Pin<Box<dyn Future<Output = <Update<'a, SomeSet> as IntoFuture>::Output> + 'a, Global>>
Which kind of future are we turning this into?
source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl<'a, State = NoneSet> !RefUnwindSafe for Update<'a, State>
impl<'a, State> Send for Update<'a, State>where State: Send,
impl<'a, State> Sync for Update<'a, State>where State: Sync,
impl<'a, State> Unpin for Update<'a, State>where State: Unpin,
impl<'a, State = NoneSet> !UnwindSafe for Update<'a, State>
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