Enum sqlparser::ast::DiscardObject
source · pub enum DiscardObject {
ALL,
PLANS,
SEQUENCES,
TEMP,
}
Variants§
Trait Implementations§
source§impl Clone for DiscardObject
impl Clone for DiscardObject
source§fn clone(&self) -> DiscardObject
fn clone(&self) -> DiscardObject
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 DiscardObject
impl Debug for DiscardObject
source§impl Display for DiscardObject
impl Display for DiscardObject
source§impl Hash for DiscardObject
impl Hash for DiscardObject
source§impl Ord for DiscardObject
impl Ord for DiscardObject
source§fn cmp(&self, other: &DiscardObject) -> Ordering
fn cmp(&self, other: &DiscardObject) -> 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 DiscardObject
impl PartialEq for DiscardObject
source§fn eq(&self, other: &DiscardObject) -> bool
fn eq(&self, other: &DiscardObject) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DiscardObject
impl PartialOrd for DiscardObject
source§fn partial_cmp(&self, other: &DiscardObject) -> Option<Ordering>
fn partial_cmp(&self, other: &DiscardObject) -> Option<Ordering>
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 Copy for DiscardObject
impl Eq for DiscardObject
impl StructuralEq for DiscardObject
impl StructuralPartialEq for DiscardObject
Auto Trait Implementations§
impl RefUnwindSafe for DiscardObject
impl Send for DiscardObject
impl Sync for DiscardObject
impl Unpin for DiscardObject
impl UnwindSafe for DiscardObject
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