pub struct Update<Out> { /* private fields */ }Implementations§
Source§impl<Out> Update<Out>
impl<Out> Update<Out>
pub fn new(table: Table) -> Self
pub fn set<M, T, V>(self, column: Column<M, T>, value: V) -> Selfwhere
V: ColumnValue<T>,
pub fn filter(self, expr: Expr<bool>) -> Self
pub fn returning(self, columns: Vec<ColumnRef>) -> Self
pub fn returning_all(self) -> Self
pub fn compile(&self) -> CompiledSql
Trait Implementations§
Auto Trait Implementations§
impl<Out> Freeze for Update<Out>
impl<Out> RefUnwindSafe for Update<Out>where
Out: RefUnwindSafe,
impl<Out> Send for Update<Out>where
Out: Send,
impl<Out> Sync for Update<Out>where
Out: Sync,
impl<Out> Unpin for Update<Out>where
Out: Unpin,
impl<Out> UnwindSafe for Update<Out>where
Out: 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