Enum ciboulette::CibouletteResponseStatus [−][src]
pub enum CibouletteResponseStatus { Ok, OkEmpty, OkAsync, Created, Unsupported, NotFound, Conflict, }
The status a response should send
Variants
HTTP 200
HTTP 204
HTTP 202
HTTP 201
HTTP 403
HTTP 404
HTTP 409
Implementations
impl CibouletteResponseStatus
[src]
impl CibouletteResponseStatus
[src]pub fn get_status_for_ok_response<'request, 'response, B>(
request: &dyn CibouletteRequestCommons<'request>,
response_body: &CibouletteResponseBody<'response, B>
) -> Self
[src]
request: &dyn CibouletteRequestCommons<'request>,
response_body: &CibouletteResponseBody<'response, B>
) -> Self
Get a response status for a given request type and data.
Applicable only if the request was a success
Trait Implementations
impl Clone for CibouletteResponseStatus
[src]
impl Clone for CibouletteResponseStatus
[src]fn clone(&self) -> CibouletteResponseStatus
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for CibouletteResponseStatus
[src]
impl Copy for CibouletteResponseStatus
[src]Auto Trait Implementations
impl RefUnwindSafe for CibouletteResponseStatus
impl RefUnwindSafe for CibouletteResponseStatus
impl Send for CibouletteResponseStatus
impl Send for CibouletteResponseStatus
impl Sync for CibouletteResponseStatus
impl Sync for CibouletteResponseStatus
impl Unpin for CibouletteResponseStatus
impl Unpin for CibouletteResponseStatus
impl UnwindSafe for CibouletteResponseStatus
impl UnwindSafe for CibouletteResponseStatus