pub struct GetTokenInfoData {
pub token: String,
pub user_id: String,
pub account: String,
pub roles: HashMap<String, bool>,
pub name: String,
pub client_id: String,
pub scopes: Vec<String>,
}
Fields§
§token: String
§user_id: String
§account: String
§roles: HashMap<String, bool>
§name: String
§client_id: String
§scopes: Vec<String>
Trait Implementations§
Source§impl Clone for GetTokenInfoData
impl Clone for GetTokenInfoData
Source§fn clone(&self) -> GetTokenInfoData
fn clone(&self) -> GetTokenInfoData
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 moreAuto Trait Implementations§
impl Freeze for GetTokenInfoData
impl RefUnwindSafe for GetTokenInfoData
impl Send for GetTokenInfoData
impl Sync for GetTokenInfoData
impl Unpin for GetTokenInfoData
impl UnwindSafe for GetTokenInfoData
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