pub enum MethodOptions_IdempotencyLevel {
IDEMPOTENCY_UNKNOWN = 0,
NO_SIDE_EFFECTS = 1,
IDEMPOTENT = 2,
}
Variants§
Trait Implementations§
Source§impl Clone for MethodOptions_IdempotencyLevel
impl Clone for MethodOptions_IdempotencyLevel
Source§fn clone(&self) -> MethodOptions_IdempotencyLevel
fn clone(&self) -> MethodOptions_IdempotencyLevel
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 PartialEq for MethodOptions_IdempotencyLevel
impl PartialEq for MethodOptions_IdempotencyLevel
Source§fn eq(&self, other: &MethodOptions_IdempotencyLevel) -> bool
fn eq(&self, other: &MethodOptions_IdempotencyLevel) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl ProtobufEnum for MethodOptions_IdempotencyLevel
impl ProtobufEnum for MethodOptions_IdempotencyLevel
Source§fn from_i32(value: i32) -> Option<MethodOptions_IdempotencyLevel>
fn from_i32(value: i32) -> Option<MethodOptions_IdempotencyLevel>
Try to create an enum from
i32
value.
Return None
if value is unknown.Source§fn enum_descriptor_static() -> &'static EnumDescriptor
fn enum_descriptor_static() -> &'static EnumDescriptor
Get enum descriptor by type.
Source§fn descriptor(&self) -> &'static EnumValueDescriptor
fn descriptor(&self) -> &'static EnumValueDescriptor
Get enum value descriptor.
Source§fn enum_descriptor(&self) -> &'static EnumDescriptor
fn enum_descriptor(&self) -> &'static EnumDescriptor
Get enum descriptor.
Source§impl ProtobufValue for MethodOptions_IdempotencyLevel
impl ProtobufValue for MethodOptions_IdempotencyLevel
Source§fn as_ref(&self) -> ReflectValueRef<'_>
fn as_ref(&self) -> ReflectValueRef<'_>
As ref
Source§fn is_non_zero(&self) -> bool
fn is_non_zero(&self) -> bool
Is value non-zero?
Source§fn as_ref_copy(&self) -> ReflectValueRef<'static>
fn as_ref_copy(&self) -> ReflectValueRef<'static>
impl Copy for MethodOptions_IdempotencyLevel
impl Eq for MethodOptions_IdempotencyLevel
impl StructuralPartialEq for MethodOptions_IdempotencyLevel
Auto Trait Implementations§
impl Freeze for MethodOptions_IdempotencyLevel
impl RefUnwindSafe for MethodOptions_IdempotencyLevel
impl Send for MethodOptions_IdempotencyLevel
impl Sync for MethodOptions_IdempotencyLevel
impl Unpin for MethodOptions_IdempotencyLevel
impl UnwindSafe for MethodOptions_IdempotencyLevel
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