Enum sqlparser::ast::CopyLegacyOption  
source · pub enum CopyLegacyOption {
    Binary,
    Delimiter(char),
    Null(String),
    Csv(Vec<CopyLegacyCsvOption>),
}Expand description
An option in COPY statement before PostgreSQL version 9.0.
Variants§
Binary
BINARY
Delimiter(char)
DELIMITER [ AS ] ‘delimiter_character’
Null(String)
NULL [ AS ] ‘null_string’
Csv(Vec<CopyLegacyCsvOption>)
CSV …
Trait Implementations§
source§impl Clone for CopyLegacyOption
 
impl Clone for CopyLegacyOption
source§fn clone(&self) -> CopyLegacyOption
 
fn clone(&self) -> CopyLegacyOption
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 CopyLegacyOption
 
impl Debug for CopyLegacyOption
source§impl<'de> Deserialize<'de> for CopyLegacyOption
 
impl<'de> Deserialize<'de> for CopyLegacyOption
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 Display for CopyLegacyOption
 
impl Display for CopyLegacyOption
source§impl Hash for CopyLegacyOption
 
impl Hash for CopyLegacyOption
source§impl Ord for CopyLegacyOption
 
impl Ord for CopyLegacyOption
source§fn cmp(&self, other: &CopyLegacyOption) -> Ordering
 
fn cmp(&self, other: &CopyLegacyOption) -> 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 CopyLegacyOption
 
impl PartialEq for CopyLegacyOption
source§fn eq(&self, other: &CopyLegacyOption) -> bool
 
fn eq(&self, other: &CopyLegacyOption) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.source§impl PartialOrd for CopyLegacyOption
 
impl PartialOrd for CopyLegacyOption
source§fn partial_cmp(&self, other: &CopyLegacyOption) -> Option<Ordering>
 
fn partial_cmp(&self, other: &CopyLegacyOption) -> 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 moresource§impl Serialize for CopyLegacyOption
 
impl Serialize for CopyLegacyOption
source§impl Visit for CopyLegacyOption
 
impl Visit for CopyLegacyOption
source§impl VisitMut for CopyLegacyOption
 
impl VisitMut for CopyLegacyOption
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
impl Eq for CopyLegacyOption
impl StructuralEq for CopyLegacyOption
impl StructuralPartialEq for CopyLegacyOption
Auto Trait Implementations§
impl RefUnwindSafe for CopyLegacyOption
impl Send for CopyLegacyOption
impl Sync for CopyLegacyOption
impl Unpin for CopyLegacyOption
impl UnwindSafe for CopyLegacyOption
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