pub enum ResponseStatus {
Unauthorized,
Redirect,
BadRequest,
Ok,
}Expand description
The general manner of the response.
These are parallels for HTTP status codes of the same name.
Variants§
The response is issued because the requesting party was not authorized.
Redirect
The response redirects in the code grant flow.
BadRequest
The request was malformed.
Ok
This response is normal and expected.
Trait Implementations§
Source§impl Clone for ResponseStatus
impl Clone for ResponseStatus
Source§fn clone(&self) -> ResponseStatus
fn clone(&self) -> ResponseStatus
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 Debug for ResponseStatus
impl Debug for ResponseStatus
Source§impl Hash for ResponseStatus
impl Hash for ResponseStatus
Source§impl Ord for ResponseStatus
impl Ord for ResponseStatus
Source§fn cmp(&self, other: &ResponseStatus) -> Ordering
fn cmp(&self, other: &ResponseStatus) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ResponseStatus
impl PartialEq for ResponseStatus
Source§impl PartialOrd for ResponseStatus
impl PartialOrd for ResponseStatus
impl Copy for ResponseStatus
impl Eq for ResponseStatus
impl StructuralPartialEq for ResponseStatus
Auto Trait Implementations§
impl Freeze for ResponseStatus
impl RefUnwindSafe for ResponseStatus
impl Send for ResponseStatus
impl Sync for ResponseStatus
impl Unpin for ResponseStatus
impl UnwindSafe for ResponseStatus
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