pub struct CopyFromSpec {
pub table: String,
pub columns: Option<Vec<String>>,
}Expand description
The head of an embed-path COPY … FROM stdin; statement.
Fields§
§table: StringBare table name (any schema. qualifier stripped — same
treatment the SQL parser gives table names).
columns: Option<Vec<String>>Explicit column list when the statement carries one
(pg_dump always emits it). None = positional against the
table’s full column order.
Trait Implementations§
Source§impl Debug for CopyFromSpec
impl Debug for CopyFromSpec
impl Eq for CopyFromSpec
Source§impl PartialEq for CopyFromSpec
impl PartialEq for CopyFromSpec
Source§fn eq(&self, other: &CopyFromSpec) -> bool
fn eq(&self, other: &CopyFromSpec) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CopyFromSpec
Auto Trait Implementations§
impl Freeze for CopyFromSpec
impl RefUnwindSafe for CopyFromSpec
impl Send for CopyFromSpec
impl Sync for CopyFromSpec
impl Unpin for CopyFromSpec
impl UnsafeUnpin for CopyFromSpec
impl UnwindSafe for CopyFromSpec
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