pub enum MethodOptions_IdempotencyLevel {
IDEMPOTENCY_UNKNOWN,
NO_SIDE_EFFECTS,
IDEMPOTENT,
}
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<MethodOptions_IdempotencyLevel> for MethodOptions_IdempotencyLevel
impl PartialEq<MethodOptions_IdempotencyLevel> for MethodOptions_IdempotencyLevel
source§fn eq(&self, other: &MethodOptions_IdempotencyLevel) -> bool
fn eq(&self, other: &MethodOptions_IdempotencyLevel) -> bool
This method 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 StructuralEq for MethodOptions_IdempotencyLevel
impl StructuralPartialEq for MethodOptions_IdempotencyLevel
Auto Trait Implementations§
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