Enum sea_query::query::ReturningClause
source · pub enum ReturningClause {
All,
Columns(Vec<ColumnRef>),
Exprs(Vec<SimpleExpr>),
}
Expand description
RETURNING clause.
Note:
Works on
- PostgreSQL
- SQLite
- SQLite version >= 3.35.0
- Note that sea-query won’t try to enforce either of these constraints
Variants§
Trait Implementations§
source§impl Clone for ReturningClause
impl Clone for ReturningClause
source§fn clone(&self) -> ReturningClause
fn clone(&self) -> ReturningClause
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ReturningClause
impl Debug for ReturningClause
source§impl PartialEq<ReturningClause> for ReturningClause
impl PartialEq<ReturningClause> for ReturningClause
source§fn eq(&self, other: &ReturningClause) -> bool
fn eq(&self, other: &ReturningClause) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReturningClause
Auto Trait Implementations§
impl !RefUnwindSafe for ReturningClause
impl Send for ReturningClause
impl Sync for ReturningClause
impl Unpin for ReturningClause
impl !UnwindSafe for ReturningClause
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