pub struct CopyToFileSpec {
pub table: String,
pub columns: Option<Vec<String>>,
pub query: Option<Box<Statement>>,
pub path: String,
pub options: CopyOptions,
}Expand description
v7.39 (round 252) — a parsed COPY … TO '<file>' (table or query
form). The HOST renders via Engine::copy_to_buffer and writes
path itself.
Fields§
§table: String§columns: Option<Vec<String>>§query: Option<Box<Statement>>§path: String§options: CopyOptionsTrait Implementations§
Auto Trait Implementations§
impl Freeze for CopyToFileSpec
impl RefUnwindSafe for CopyToFileSpec
impl Send for CopyToFileSpec
impl Sync for CopyToFileSpec
impl Unpin for CopyToFileSpec
impl UnsafeUnpin for CopyToFileSpec
impl UnwindSafe for CopyToFileSpec
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