pub enum KVAction {
KV_ACTION_UNSET = 0,
KV_ACTION_GET = 1,
KV_ACTION_CREATE = 2,
KV_ACTION_UPDATE = 3,
KV_ACTION_EXISTS = 4,
KV_ACTION_DELETE = 5,
KV_ACTION_DELETE_ALL = 6,
}Expand description
KVAction is a shared type that is used for protos.KVCommand and protos.KVStep. Note that only a subset of actions are used for protos.KVCommand (CREATE, UPDATE, DELETE, DELETE_ALL) while protos.KVStep uses most of them.
protolint:disable:next ENUM_FIELD_NAMES_PREFIX
Variants§
KV_ACTION_UNSET = 0
KV_ACTION_GET = 1
KV_ACTION_CREATE = 2
KV_ACTION_UPDATE = 3
KV_ACTION_EXISTS = 4
KV_ACTION_DELETE = 5
KV_ACTION_DELETE_ALL = 6
Trait Implementations§
source§impl Enum for KVAction
impl Enum for KVAction
source§impl EnumFull for KVAction
impl EnumFull for KVAction
source§fn enum_descriptor() -> EnumDescriptor
fn enum_descriptor() -> EnumDescriptor
Get enum descriptor by type.
source§fn descriptor(&self) -> EnumValueDescriptor
fn descriptor(&self) -> EnumValueDescriptor
Get enum value descriptor.
source§impl PartialEq for KVAction
impl PartialEq for KVAction
impl Copy for KVAction
impl Eq for KVAction
impl StructuralEq for KVAction
impl StructuralPartialEq for KVAction
Auto Trait Implementations§
impl RefUnwindSafe for KVAction
impl Send for KVAction
impl Sync for KVAction
impl Unpin for KVAction
impl UnwindSafe for KVAction
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