Enum protos::sp_common::OperationType
source · pub enum OperationType {
OPERATION_TYPE_UNSET = 0,
OPERATION_TYPE_CONSUMER = 1,
OPERATION_TYPE_PRODUCER = 2,
}Expand description
Each SDK client is a $service + $component + $operation_type
Variants§
Trait Implementations§
source§impl Clone for OperationType
impl Clone for OperationType
source§fn clone(&self) -> OperationType
fn clone(&self) -> OperationType
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 OperationType
impl Debug for OperationType
source§impl Default for OperationType
impl Default for OperationType
source§impl Enum for OperationType
impl Enum for OperationType
source§fn from_i32(value: i32) -> Option<OperationType>
fn from_i32(value: i32) -> Option<OperationType>
Try to create an enum from
i32 value.
Return None if value is unknown.source§fn from_str(str: &str) -> Option<OperationType>
fn from_str(str: &str) -> Option<OperationType>
Try to create an enum from
&str value.
Return None if str is unknown.source§const VALUES: &'static [OperationType] = _
const VALUES: &'static [OperationType] = _
All enum values for enum type.
source§impl EnumFull for OperationType
impl EnumFull for OperationType
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 Hash for OperationType
impl Hash for OperationType
source§impl PartialEq for OperationType
impl PartialEq for OperationType
source§fn eq(&self, other: &OperationType) -> bool
fn eq(&self, other: &OperationType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for OperationType
impl Eq for OperationType
impl StructuralEq for OperationType
impl StructuralPartialEq for OperationType
Auto Trait Implementations§
impl RefUnwindSafe for OperationType
impl Send for OperationType
impl Sync for OperationType
impl Unpin for OperationType
impl UnwindSafe for OperationType
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