pub struct ExternalJwtToken {
pub jwt_hash: i64,
pub email: String,
pub username: String,
pub is_admin: bool,
pub is_operator: bool,
pub workspace_id: Option<String>,
pub label: Option<String>,
pub scopes: Option<Vec<String>>,
pub last_used_at: String,
}Fields§
§jwt_hash: i64§email: String§username: String§is_admin: bool§is_operator: bool§workspace_id: Option<String>§label: Option<String>§scopes: Option<Vec<String>>§last_used_at: StringImplementations§
Trait Implementations§
Source§impl Clone for ExternalJwtToken
impl Clone for ExternalJwtToken
Source§impl Debug for ExternalJwtToken
impl Debug for ExternalJwtToken
Source§impl Default for ExternalJwtToken
impl Default for ExternalJwtToken
Source§impl<'de> Deserialize<'de> for ExternalJwtToken
impl<'de> Deserialize<'de> for ExternalJwtToken
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ExternalJwtToken
impl PartialEq for ExternalJwtToken
Source§impl Serialize for ExternalJwtToken
impl Serialize for ExternalJwtToken
impl StructuralPartialEq for ExternalJwtToken
Auto Trait Implementations§
impl Forget for ExternalJwtToken
impl Freeze for ExternalJwtToken
impl Move for ExternalJwtToken
impl RefUnwindSafe for ExternalJwtToken
impl Send for ExternalJwtTokenwhere
RawVecInner: Send,
impl Sync for ExternalJwtTokenwhere
RawVecInner: Sync,
impl Unpin for ExternalJwtToken
impl UnsafeUnpin for ExternalJwtTokenwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for ExternalJwtTokenwhere
RawVecInner: UnwindSafe,
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