Enum prost_codegen::google::protobuf::method_options::IdempotencyLevel [] [src]

pub enum IdempotencyLevel {
    IdempotencyUnknown,
    NoSideEffects,
    Idempotent,
}

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

implies idempotent

idempotent, but may have side effects

Trait Implementations

impl Clone for IdempotencyLevel
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for IdempotencyLevel
[src]

impl Debug for IdempotencyLevel
[src]

Formats the value using the given formatter.

impl PartialEq for IdempotencyLevel
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for IdempotencyLevel
[src]