pub struct DumpRecord {
pub id: Id,
pub header: DocumentHeader,
pub payload: Vec<u8>,
}Expand description
One raw record yielded by DumpIter.
Fields§
§id: IdPrimary id, decoded from the B-tree key.
header: DocumentHeaderPer-document header (16 bytes on disk, decoded).
payload: Vec<u8>Payload bytes following the header. Type-erased; no schema-aware decode is attempted.
Trait Implementations§
Source§impl Clone for DumpRecord
impl Clone for DumpRecord
Source§fn clone(&self) -> DumpRecord
fn clone(&self) -> DumpRecord
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 moreAuto Trait Implementations§
impl Freeze for DumpRecord
impl RefUnwindSafe for DumpRecord
impl Send for DumpRecord
impl Sync for DumpRecord
impl Unpin for DumpRecord
impl UnsafeUnpin for DumpRecord
impl UnwindSafe for DumpRecord
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