pub enum CopyHeader {
Set(bool),
Match,
}
Available on crate feature
postgres_backend
only.Expand description
Describes the different possible settings for the HEADER
option
for COPY FROM
statements
Variants§
Set(bool)
Is the header set?
Match
Match the header with the targeted table names and fail in the case of a mismatch
Trait Implementations§
Source§impl Clone for CopyHeader
impl Clone for CopyHeader
Source§fn clone(&self) -> CopyHeader
fn clone(&self) -> CopyHeader
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 CopyHeader
impl Debug for CopyHeader
impl Copy for CopyHeader
Auto Trait Implementations§
impl Freeze for CopyHeader
impl RefUnwindSafe for CopyHeader
impl Send for CopyHeader
impl Sync for CopyHeader
impl Unpin for CopyHeader
impl UnwindSafe for CopyHeader
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