pub struct IntrospectionResponse {
pub active: bool,
pub scope: Option<String>,
pub client_id: Option<String>,
pub username: Option<String>,
pub token_type: Option<String>,
pub exp: Option<i64>,
pub iat: Option<i64>,
pub sub: Option<String>,
pub iss: Option<String>,
}Expand description
Token introspection response (RFC 7662).
Fields§
§active: bool§scope: Option<String>§client_id: Option<String>§username: Option<String>§token_type: Option<String>§exp: Option<i64>§iat: Option<i64>§sub: Option<String>§iss: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for IntrospectionResponse
impl Clone for IntrospectionResponse
Source§fn clone(&self) -> IntrospectionResponse
fn clone(&self) -> IntrospectionResponse
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 IntrospectionResponse
impl Debug for IntrospectionResponse
Auto Trait Implementations§
impl Freeze for IntrospectionResponse
impl RefUnwindSafe for IntrospectionResponse
impl Send for IntrospectionResponse
impl Sync for IntrospectionResponse
impl Unpin for IntrospectionResponse
impl UnsafeUnpin for IntrospectionResponse
impl UnwindSafe for IntrospectionResponse
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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