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
Create a new entity
Read
Get an entity or resource
Modify
Modify an existing entity
Replace
Replace an existing entity
Delete
Delete an entity
ReadHeader
Get the header data or short info about an entity
Trait Implementations
impl Clone for Operation
[src]
fn clone(&self) -> Operation
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more