Enum rincon_core::api::method::Operation [] [src]

pub enum Operation {
    Create,
    Read,
    Modify,
    Replace,
    Delete,
    ReadHeader,
}

Enumeration of the used operation of a REST API.

The operations are defined in a logical sense thus being abstract over the HTTP operations like POST, GET, PUT, PATCH, etc.

Variants

Create a new entity

Get an entity or resource

Modify an existing entity

Replace an existing entity

Delete an entity

Get the header data or short info about an entity

Trait Implementations

impl Clone for Operation
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Operation
[src]

impl Debug for Operation
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Operation

impl Sync for Operation