pub enum LoFileCall {
Import {
path: String,
oid: Option<u32>,
},
Export {
oid: u32,
path: String,
},
}Expand description
A SELECT lo_import(…) / SELECT lo_export(…) the host must run,
because it reads or writes a file.
Variants§
Implementations§
Source§impl LoFileCall
impl LoFileCall
Sourcepub const fn column_name(&self) -> &'static str
pub const fn column_name(&self) -> &'static str
The result column name PG uses — its own function name.
Trait Implementations§
Source§impl Clone for LoFileCall
impl Clone for LoFileCall
Source§fn clone(&self) -> LoFileCall
fn clone(&self) -> LoFileCall
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 moreSource§impl Debug for LoFileCall
impl Debug for LoFileCall
impl Eq for LoFileCall
Source§impl PartialEq for LoFileCall
impl PartialEq for LoFileCall
impl StructuralPartialEq for LoFileCall
Auto Trait Implementations§
impl Freeze for LoFileCall
impl RefUnwindSafe for LoFileCall
impl Send for LoFileCall
impl Sync for LoFileCall
impl Unpin for LoFileCall
impl UnsafeUnpin for LoFileCall
impl UnwindSafe for LoFileCall
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