pub struct ParsedCopyRow {
pub raw: Vec<u8>,
pub pk: Option<PkTuple>,
pub fk_values: Vec<(FkRef, PkTuple)>,
}Expand description
A parsed row from a COPY data block
Fields§
§raw: Vec<u8>Raw bytes of the row (tab-separated values, no newline)
pk: Option<PkTuple>Extracted primary key values (if table has PK and values are non-NULL)
fk_values: Vec<(FkRef, PkTuple)>Extracted foreign key values with their references
Trait Implementations§
Source§impl Clone for ParsedCopyRow
impl Clone for ParsedCopyRow
Source§fn clone(&self) -> ParsedCopyRow
fn clone(&self) -> ParsedCopyRow
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ParsedCopyRow
impl RefUnwindSafe for ParsedCopyRow
impl Send for ParsedCopyRow
impl Sync for ParsedCopyRow
impl Unpin for ParsedCopyRow
impl UnwindSafe for ParsedCopyRow
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