pub struct BinarySnapshotPayload {
pub table: String,
pub columns: Vec<BinarySnapshotColumn>,
pub row_count: usize,
/* private fields */
}Fields§
§table: String§columns: Vec<BinarySnapshotColumn>§row_count: usizeImplementations§
Source§impl BinarySnapshotPayload
impl BinarySnapshotPayload
pub fn row_count(&self) -> usize
pub fn bytes(&self) -> &[u8] ⓘ
pub fn row_cursor(&self) -> BinarySnapshotRowCursor<'_>
pub fn into_decoded_rows(self) -> Result<DecodedBinarySnapshotRows>
pub fn into_value_rows(self) -> Result<Vec<Value>>
Trait Implementations§
Source§impl Clone for BinarySnapshotPayload
impl Clone for BinarySnapshotPayload
Source§fn clone(&self) -> BinarySnapshotPayload
fn clone(&self) -> BinarySnapshotPayload
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 BinarySnapshotPayload
impl Debug for BinarySnapshotPayload
Source§impl PartialEq for BinarySnapshotPayload
impl PartialEq for BinarySnapshotPayload
Source§fn eq(&self, other: &BinarySnapshotPayload) -> bool
fn eq(&self, other: &BinarySnapshotPayload) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BinarySnapshotPayload
Auto Trait Implementations§
impl Freeze for BinarySnapshotPayload
impl RefUnwindSafe for BinarySnapshotPayload
impl Send for BinarySnapshotPayload
impl Sync for BinarySnapshotPayload
impl Unpin for BinarySnapshotPayload
impl UnsafeUnpin for BinarySnapshotPayload
impl UnwindSafe for BinarySnapshotPayload
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