pub struct WithClause {
pub distinct: bool,
pub items: Vec<ReturnItem>,
pub where_clause: Option<WhereClause>,
pub span: Option<SourceSpan>,
}Expand description
A WITH clause for query chaining.
Fields§
§distinct: boolWhether to use DISTINCT.
items: Vec<ReturnItem>Items to pass to the next query part.
where_clause: Option<WhereClause>Optional WHERE clause after WITH.
span: Option<SourceSpan>Source span.
Trait Implementations§
Source§impl Clone for WithClause
impl Clone for WithClause
Source§fn clone(&self) -> WithClause
fn clone(&self) -> WithClause
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for WithClause
impl RefUnwindSafe for WithClause
impl Send for WithClause
impl Sync for WithClause
impl Unpin for WithClause
impl UnwindSafe for WithClause
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