pub enum LoadDataFormat {
Data,
Xml,
}Expand description
Whether a LoadDataStatement reads delimited text (LOAD DATA) or XML (LOAD XML) —
the mysql sql_yacc.yy data_or_xml production.
Variants§
Trait Implementations§
Source§impl Clone for LoadDataFormat
impl Clone for LoadDataFormat
Source§fn clone(&self) -> LoadDataFormat
fn clone(&self) -> LoadDataFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LoadDataFormat
Source§impl Debug for LoadDataFormat
impl Debug for LoadDataFormat
Source§impl<'de> Deserialize<'de> for LoadDataFormat
impl<'de> Deserialize<'de> for LoadDataFormat
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
impl Eq for LoadDataFormat
Source§impl Hash for LoadDataFormat
impl Hash for LoadDataFormat
Source§impl PartialEq for LoadDataFormat
impl PartialEq for LoadDataFormat
Source§impl Render for LoadDataFormat
impl Render for LoadDataFormat
Source§fn render(&self, _ctx: &RenderCtx<'_>, f: &mut Formatter<'_>) -> Result
fn render(&self, _ctx: &RenderCtx<'_>, f: &mut Formatter<'_>) -> Result
Return the render for this value.
Source§fn operand_binding_power(&self) -> Option<BindingPower>
fn operand_binding_power(&self) -> Option<BindingPower>
The binding power this node contributes when it appears as an operand, or
None (the default) for a self-delimiting node — an atom, call, or
constructor — that never needs parentheses. Read moreSource§impl Serialize for LoadDataFormat
impl Serialize for LoadDataFormat
impl StructuralPartialEq for LoadDataFormat
Auto Trait Implementations§
impl Freeze for LoadDataFormat
impl RefUnwindSafe for LoadDataFormat
impl Send for LoadDataFormat
impl Sync for LoadDataFormat
impl Unpin for LoadDataFormat
impl UnsafeUnpin for LoadDataFormat
impl UnwindSafe for LoadDataFormat
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