pub struct AuthErrorDetails {
pub status: Option<StatusCode>,
pub oauth_error: Option<String>,
pub details: Option<String>,
}Expand description
Details of an authentication failure (see ErrorKind::Auth).
Fields§
§status: Option<StatusCode>HTTP status returned by the authentication endpoint, if any.
oauth_error: Option<String>OAuth error code from the response body (e.g. invalid_grant), if present.
details: Option<String>Human readable details: the OAuth error_description or the raw response body.
Implementations§
Trait Implementations§
Source§impl Debug for AuthErrorDetails
impl Debug for AuthErrorDetails
Auto Trait Implementations§
impl Freeze for AuthErrorDetails
impl RefUnwindSafe for AuthErrorDetails
impl Send for AuthErrorDetails
impl Sync for AuthErrorDetails
impl Unpin for AuthErrorDetails
impl UnsafeUnpin for AuthErrorDetails
impl UnwindSafe for AuthErrorDetails
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request