Enum substreams_antelope::pb::ram_op::Operation
source · #[repr(i32)]pub enum Operation {
Show 26 variants
Unknown = 0,
CreateTable = 1,
DeferredTrxAdd = 2,
DeferredTrxCancel = 3,
DeferredTrxPushed = 4,
DeferredTrxRamCorrection = 5,
DeferredTrxRemoved = 6,
Deleteauth = 7,
Linkauth = 8,
Newaccount = 9,
PrimaryIndexAdd = 10,
PrimaryIndexRemove = 11,
PrimaryIndexUpdate = 12,
PrimaryIndexUpdateAddNewPayer = 13,
PrimaryIndexUpdateRemoveOldPayer = 14,
RemoveTable = 15,
SecondaryIndexAdd = 16,
SecondaryIndexRemove = 17,
SecondaryIndexUpdateAddNewPayer = 18,
SecondaryIndexUpdateRemoveOldPayer = 19,
Setabi = 20,
Setcode = 21,
Unlinkauth = 22,
UpdateauthCreate = 23,
UpdateauthUpdate = 24,
Deprecated = 25,
}
Variants§
Unknown = 0
CreateTable = 1
DeferredTrxAdd = 2
DeferredTrxCancel = 3
DeferredTrxPushed = 4
DeferredTrxRamCorrection = 5
DeferredTrxRemoved = 6
Deleteauth = 7
Linkauth = 8
Newaccount = 9
PrimaryIndexAdd = 10
PrimaryIndexRemove = 11
PrimaryIndexUpdate = 12
PrimaryIndexUpdateAddNewPayer = 13
PrimaryIndexUpdateRemoveOldPayer = 14
RemoveTable = 15
SecondaryIndexAdd = 16
SecondaryIndexRemove = 17
SecondaryIndexUpdateAddNewPayer = 18
SecondaryIndexUpdateRemoveOldPayer = 19
Setabi = 20
Setcode = 21
Unlinkauth = 22
UpdateauthCreate = 23
UpdateauthUpdate = 24
Deprecated = 25
For newer RAM Ops that are registered by Deep Mind, their Operation
value will be
Deprecated until we remove the operation completely. Use instead the Namespace
and Action
fields to take a decision about what the RAM operation is doing.
Implementations§
Trait Implementations§
source§impl Ord for Operation
impl Ord for Operation
source§impl PartialEq for Operation
impl PartialEq for Operation
source§impl PartialOrd for Operation
impl PartialOrd for Operation
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Operation
impl Eq for Operation
impl StructuralPartialEq for Operation
Auto Trait Implementations§
impl Freeze for Operation
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnwindSafe for Operation
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