Enum protobuf::descriptor::method_options::IdempotencyLevel [−][src]
pub enum IdempotencyLevel {
IDEMPOTENCY_UNKNOWN,
NO_SIDE_EFFECTS,
IDEMPOTENT,
}
Expand description
Is this method side-effect-free (or safe in HTTP parlance), or idempotent, or neither? HTTP based RPC implementation may choose GET verb for safe methods, and PUT verb for idempotent methods instead of the default POST.
Variants
IDEMPOTENCY_UNKNOWN
NO_SIDE_EFFECTS
IDEMPOTENT
Trait Implementations
Try to create an enum from i32
value.
Return None
if value is unknown. Read more
Get all enum values for enum type.
Get enum descriptor by type.
Get enum value descriptor.
Get enum descriptor.
type RuntimeType = RuntimeTypeEnum<Self>
type RuntimeType = RuntimeTypeEnum<Self>
Actual implementation of type properties.
Dynamic version of the type.
Pointer to a dynamic reference.
Mutable pointer to a dynamic mutable reference.
Construct a value from given reflective value. Read more
Write the value.
Default value for this type.
Convert a value into a ref value if possible. Read more
Value is non-default?
Auto Trait Implementations
impl RefUnwindSafe for IdempotencyLevel
impl Send for IdempotencyLevel
impl Sync for IdempotencyLevel
impl Unpin for IdempotencyLevel
impl UnwindSafe for IdempotencyLevel
Blanket Implementations
Mutably borrows from an owned value. Read more