pub enum ObjectRemoveKind {
Delete,
Wrap,
}Expand description
Why an object is no longer in the store after a transaction.
Not a wire type: this tags an object reported by
TransactionEffectsV1::all_removed_objects with which of the object sets
it came from.
Variants§
Delete
The transaction deleted the object.
Wrap
The transaction wrapped the object inside another one.
Trait Implementations§
Source§impl Clone for ObjectRemoveKind
impl Clone for ObjectRemoveKind
Source§fn clone(&self) -> ObjectRemoveKind
fn clone(&self) -> ObjectRemoveKind
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 moreimpl Copy for ObjectRemoveKind
Source§impl Debug for ObjectRemoveKind
impl Debug for ObjectRemoveKind
Source§impl Display for ObjectRemoveKind
impl Display for ObjectRemoveKind
impl Eq for ObjectRemoveKind
Source§impl Hash for ObjectRemoveKind
impl Hash for ObjectRemoveKind
Source§impl Ord for ObjectRemoveKind
impl Ord for ObjectRemoveKind
Source§fn cmp(&self, other: &ObjectRemoveKind) -> Ordering
fn cmp(&self, other: &ObjectRemoveKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ObjectRemoveKind
impl PartialEq for ObjectRemoveKind
Source§impl PartialOrd for ObjectRemoveKind
impl PartialOrd for ObjectRemoveKind
impl StructuralPartialEq for ObjectRemoveKind
Auto Trait Implementations§
impl Freeze for ObjectRemoveKind
impl RefUnwindSafe for ObjectRemoveKind
impl Send for ObjectRemoveKind
impl Sync for ObjectRemoveKind
impl Unpin for ObjectRemoveKind
impl UnsafeUnpin for ObjectRemoveKind
impl UnwindSafe for ObjectRemoveKind
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