pub struct Top {
pub with_ties: bool,
pub percent: bool,
pub quantity: Option<Expr>,
}
Fields§
§with_ties: bool
SQL semantic equivalent of LIMIT but with same structure as FETCH.
percent: bool
§quantity: Option<Expr>
Trait Implementations§
source§impl Ord for Top
impl Ord for Top
source§impl PartialOrd for Top
impl PartialOrd for Top
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Top
impl StructuralEq for Top
impl StructuralPartialEq for Top
Auto Trait Implementations§
impl RefUnwindSafe for Top
impl Send for Top
impl Sync for Top
impl Unpin for Top
impl UnwindSafe for Top
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