pub struct JwtRefreshTokenRevokeEvent {
pub user: Option<Box<User>>,
pub application_id: Option<Uuid>,
pub application_time_to_live_in_seconds: Option<HashMap<String, i32>>,
pub refresh_token: Option<Box<RefreshToken>>,
pub user_id: Option<Uuid>,
pub create_instant: Option<i64>,
pub id: Option<Uuid>,
pub info: Option<Box<EventInfo>>,
pub tenant_id: Option<Uuid>,
pub type: Option<EventType>,
}Expand description
JwtRefreshTokenRevokeEvent : Models the Refresh Token Revoke Event. This event might be for a single token, a user or an entire application.
Fields§
§user: Option<Box<User>>§application_id: Option<Uuid>§application_time_to_live_in_seconds: Option<HashMap<String, i32>>§refresh_token: Option<Box<RefreshToken>>§user_id: Option<Uuid>§create_instant: Option<i64>The number of milliseconds since the unix epoch: January 1, 1970 00:00:00 UTC. This value is always in UTC.
id: Option<Uuid>§info: Option<Box<EventInfo>>§tenant_id: Option<Uuid>§type: Option<EventType>Implementations§
Source§impl JwtRefreshTokenRevokeEvent
impl JwtRefreshTokenRevokeEvent
Sourcepub fn new() -> JwtRefreshTokenRevokeEvent
pub fn new() -> JwtRefreshTokenRevokeEvent
Models the Refresh Token Revoke Event. This event might be for a single token, a user or an entire application.
Trait Implementations§
Source§impl Clone for JwtRefreshTokenRevokeEvent
impl Clone for JwtRefreshTokenRevokeEvent
Source§fn clone(&self) -> JwtRefreshTokenRevokeEvent
fn clone(&self) -> JwtRefreshTokenRevokeEvent
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 JwtRefreshTokenRevokeEvent
impl Debug for JwtRefreshTokenRevokeEvent
Source§impl Default for JwtRefreshTokenRevokeEvent
impl Default for JwtRefreshTokenRevokeEvent
Source§fn default() -> JwtRefreshTokenRevokeEvent
fn default() -> JwtRefreshTokenRevokeEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for JwtRefreshTokenRevokeEvent
impl<'de> Deserialize<'de> for JwtRefreshTokenRevokeEvent
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
impl StructuralPartialEq for JwtRefreshTokenRevokeEvent
Auto Trait Implementations§
impl Freeze for JwtRefreshTokenRevokeEvent
impl RefUnwindSafe for JwtRefreshTokenRevokeEvent
impl Send for JwtRefreshTokenRevokeEvent
impl Sync for JwtRefreshTokenRevokeEvent
impl Unpin for JwtRefreshTokenRevokeEvent
impl UnwindSafe for JwtRefreshTokenRevokeEvent
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