Enum sqlparser::ast::TopQuantity
source · pub enum TopQuantity {
Expr(Expr),
Constant(u64),
}
Variants§
Trait Implementations§
source§impl Clone for TopQuantity
impl Clone for TopQuantity
source§fn clone(&self) -> TopQuantity
fn clone(&self) -> TopQuantity
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 TopQuantity
impl Debug for TopQuantity
source§impl<'de> Deserialize<'de> for TopQuantity
impl<'de> Deserialize<'de> for TopQuantity
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for TopQuantity
impl Hash for TopQuantity
source§impl Ord for TopQuantity
impl Ord for TopQuantity
source§fn cmp(&self, other: &TopQuantity) -> Ordering
fn cmp(&self, other: &TopQuantity) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for TopQuantity
impl PartialEq for TopQuantity
source§impl PartialOrd for TopQuantity
impl PartialOrd for TopQuantity
source§impl Serialize for TopQuantity
impl Serialize for TopQuantity
source§impl Visit for TopQuantity
impl Visit for TopQuantity
source§impl VisitMut for TopQuantity
impl VisitMut for TopQuantity
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
impl Eq for TopQuantity
impl StructuralPartialEq for TopQuantity
Auto Trait Implementations§
impl Freeze for TopQuantity
impl RefUnwindSafe for TopQuantity
impl Send for TopQuantity
impl Sync for TopQuantity
impl Unpin for TopQuantity
impl UnwindSafe for TopQuantity
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)