Enum oxide_auth::endpoint::ResponseStatus
source · 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 copy 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§fn eq(&self, other: &ResponseStatus) -> bool
fn eq(&self, other: &ResponseStatus) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for ResponseStatus
impl PartialOrd for ResponseStatus
source§fn partial_cmp(&self, other: &ResponseStatus) -> Option<Ordering>
fn partial_cmp(&self, other: &ResponseStatus) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl 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