pub enum ResponseCode {
Show 14 variants
Ok,
Created,
Accepted,
NoContent,
BadRequest,
Unauthorized,
PaymentRequired,
Forbidden,
NotFound,
Conflict,
InternalServerError,
ServiceUnavailable,
NotImplemented,
Unknown(StatusCode),
}Variants§
Ok
Created
Accepted
NoContent
BadRequest
PaymentRequired
Forbidden
NotFound
Conflict
InternalServerError
NotImplemented
Unknown(StatusCode)
Trait Implementations§
Source§impl Clone for ResponseCode
impl Clone for ResponseCode
Source§fn clone(&self) -> ResponseCode
fn clone(&self) -> ResponseCode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ResponseCodeContract for ResponseCode
impl ResponseCodeContract for ResponseCode
Auto Trait Implementations§
impl Freeze for ResponseCode
impl RefUnwindSafe for ResponseCode
impl Send for ResponseCode
impl Sync for ResponseCode
impl Unpin for ResponseCode
impl UnsafeUnpin for ResponseCode
impl UnwindSafe for ResponseCode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more