pub struct ReturnClause {
pub expressions: Vec<ReturnItem>,
pub distinct: bool,
pub order_by: Option<Vec<OrderByItem>>,
pub limit: Option<u64>,
pub skip: Option<u64>,
pub limit_param: Option<String>,
pub skip_param: Option<String>,
}Fields§
§expressions: Vec<ReturnItem>§distinct: bool§order_by: Option<Vec<OrderByItem>>Optional ORDER BY clause: list of sort items.
limit: Option<u64>Optional LIMIT — maximum number of rows to return.
skip: Option<u64>Optional SKIP — number of rows to skip before returning.
limit_param: Option<String>Parameter name (e.g. $limit) referenced by LIMIT, resolved to a value
at prepare/execution time. Mutually exclusive with limit.
skip_param: Option<String>Parameter name (e.g. $skip) referenced by SKIP, resolved to a value
at prepare/execution time. Mutually exclusive with skip.
Trait Implementations§
Source§impl Clone for ReturnClause
impl Clone for ReturnClause
Source§fn clone(&self) -> ReturnClause
fn clone(&self) -> ReturnClause
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ReturnClause
impl Debug for ReturnClause
Source§impl PartialEq for ReturnClause
impl PartialEq for ReturnClause
impl StructuralPartialEq for ReturnClause
Auto Trait Implementations§
impl Freeze for ReturnClause
impl RefUnwindSafe for ReturnClause
impl Send for ReturnClause
impl Sync for ReturnClause
impl Unpin for ReturnClause
impl UnsafeUnpin for ReturnClause
impl UnwindSafe for ReturnClause
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