Struct substreams::store::DeltaArray
source · pub struct DeltaArray<T> {
pub operation: Operation,
pub ordinal: u64,
pub key: String,
pub old_value: Vec<T>,
pub new_value: Vec<T>,
}
Fields§
§operation: Operation
§ordinal: u64
§key: String
§old_value: Vec<T>
§new_value: Vec<T>
Trait Implementations§
source§impl<T: Clone> Clone for DeltaArray<T>
impl<T: Clone> Clone for DeltaArray<T>
source§fn clone(&self) -> DeltaArray<T>
fn clone(&self) -> DeltaArray<T>
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<T: Debug> Debug for DeltaArray<T>
impl<T: Debug> Debug for DeltaArray<T>
source§impl<T: Into<String> + From<String> + PartialEq> From<StoreDelta> for DeltaArray<T>
impl<T: Into<String> + From<String> + PartialEq> From<StoreDelta> for DeltaArray<T>
source§fn from(d: StoreDelta) -> Self
fn from(d: StoreDelta) -> Self
Converts to this type from the input type.
source§impl<T: PartialEq> PartialEq for DeltaArray<T>
impl<T: PartialEq> PartialEq for DeltaArray<T>
impl<T> StructuralPartialEq for DeltaArray<T>
Auto Trait Implementations§
impl<T> Freeze for DeltaArray<T>
impl<T> RefUnwindSafe for DeltaArray<T>where
T: RefUnwindSafe,
impl<T> Send for DeltaArray<T>where
T: Send,
impl<T> Sync for DeltaArray<T>where
T: Sync,
impl<T> Unpin for DeltaArray<T>where
T: Unpin,
impl<T> UnwindSafe for DeltaArray<T>where
T: UnwindSafe,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)