Struct substreams::store::DeltaBytes
source · pub struct DeltaBytes {
pub operation: Operation,
pub ordinal: u64,
pub key: String,
pub old_value: Vec<u8>,
pub new_value: Vec<u8>,
}
Fields§
§operation: Operation
§ordinal: u64
§key: String
§old_value: Vec<u8>
§new_value: Vec<u8>
Implementations§
source§impl DeltaBytes
impl DeltaBytes
Trait Implementations§
source§impl Clone for DeltaBytes
impl Clone for DeltaBytes
source§fn clone(&self) -> DeltaBytes
fn clone(&self) -> DeltaBytes
Returns a copy 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 moresource§impl Debug for DeltaBytes
impl Debug for DeltaBytes
source§impl Delta for &DeltaBytes
impl Delta for &DeltaBytes
source§impl Delta for DeltaBytes
impl Delta for DeltaBytes
source§impl From<StoreDelta> for DeltaBytes
impl From<StoreDelta> for DeltaBytes
source§fn from(d: StoreDelta) -> Self
fn from(d: StoreDelta) -> Self
Converts to this type from the input type.
source§impl PartialEq for DeltaBytes
impl PartialEq for DeltaBytes
source§fn eq(&self, other: &DeltaBytes) -> bool
fn eq(&self, other: &DeltaBytes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeltaBytes
Auto Trait Implementations§
impl Freeze for DeltaBytes
impl RefUnwindSafe for DeltaBytes
impl Send for DeltaBytes
impl Sync for DeltaBytes
impl Unpin for DeltaBytes
impl UnwindSafe for DeltaBytes
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