pub struct Top {
pub with_ties: bool,
pub percent: bool,
pub quantity: Option<TopQuantity>,
}Fields§
§with_ties: boolSQL semantic equivalent of LIMIT but with same structure as FETCH. MSSQL only.
percent: boolMSSQL only.
quantity: Option<TopQuantity>Trait Implementations§
Source§impl Ord for Top
impl Ord for Top
Source§impl PartialOrd for Top
impl PartialOrd for Top
Source§impl<'ast> Transformable<'ast> for Top
impl<'ast> Transformable<'ast> for Top
Source§impl Visitable for Top
impl Visitable for Top
Source§fn accept<'ast, V: Visitor<'ast>>(
&'ast self,
visitor: &mut V,
) -> ControlFlow<Break<V::Error>>
fn accept<'ast, V: Visitor<'ast>>( &'ast self, visitor: &mut V, ) -> ControlFlow<Break<V::Error>>
Accepts a borrowed
Visitor and traverses the AST starting at self invoking Visitor::enter and
Visitor::exit as nodes are entered and exiting respectively.Source§fn downcast_ref<Target: Visitable>(&self) -> Option<&Target>
fn downcast_ref<Target: Visitable>(&self) -> Option<&Target>
Tries to downcast
self as &Target.Source§fn downcast_mut<Target: Visitable>(&mut self) -> Option<&mut Target>
fn downcast_mut<Target: Visitable>(&mut self) -> Option<&mut Target>
Tries to downcast
self as &mut Target.impl Eq for Top
impl StructuralPartialEq for Top
Auto Trait Implementations§
impl Freeze for Top
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