pub struct CheckTokenResponse {
pub result: ResultType,
pub is_authenticated: bool,
pub roles: Vec<UserRole>,
pub permissions: Vec<String>,
}
Fields§
§result: ResultType
§is_authenticated: bool
§roles: Vec<UserRole>
§permissions: Vec<String>
Trait Implementations§
Source§impl Clone for CheckTokenResponse
impl Clone for CheckTokenResponse
Source§fn clone(&self) -> CheckTokenResponse
fn clone(&self) -> CheckTokenResponse
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 CheckTokenResponse
impl Debug for CheckTokenResponse
Source§impl<'de> Deserialize<'de> for CheckTokenResponse
impl<'de> Deserialize<'de> for CheckTokenResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CheckTokenResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CheckTokenResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CheckTokenResponse
impl RefUnwindSafe for CheckTokenResponse
impl Send for CheckTokenResponse
impl Sync for CheckTokenResponse
impl Unpin for CheckTokenResponse
impl UnwindSafe for CheckTokenResponse
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