pub struct JwtRefreshEvent {
pub application_id: Option<Uuid>,
pub original: Option<String>,
pub refresh_token: Option<String>,
pub token: Option<String>,
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
JwtRefreshEvent : Models the JWT Refresh Event. This event will be fired when a JWT is "refreshed" (generated) using a Refresh Token.
Fields§
§application_id: Option<Uuid>
§original: Option<String>
§refresh_token: Option<String>
§token: Option<String>
§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 JwtRefreshEvent
impl JwtRefreshEvent
sourcepub fn new() -> JwtRefreshEvent
pub fn new() -> JwtRefreshEvent
Models the JWT Refresh Event. This event will be fired when a JWT is "refreshed" (generated) using a Refresh Token.
Trait Implementations§
source§impl Clone for JwtRefreshEvent
impl Clone for JwtRefreshEvent
source§fn clone(&self) -> JwtRefreshEvent
fn clone(&self) -> JwtRefreshEvent
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 JwtRefreshEvent
impl Debug for JwtRefreshEvent
source§impl Default for JwtRefreshEvent
impl Default for JwtRefreshEvent
source§fn default() -> JwtRefreshEvent
fn default() -> JwtRefreshEvent
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for JwtRefreshEvent
impl<'de> Deserialize<'de> for JwtRefreshEvent
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 JwtRefreshEvent
impl PartialEq for JwtRefreshEvent
source§fn eq(&self, other: &JwtRefreshEvent) -> bool
fn eq(&self, other: &JwtRefreshEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for JwtRefreshEvent
impl Serialize for JwtRefreshEvent
impl StructuralPartialEq for JwtRefreshEvent
Auto Trait Implementations§
impl RefUnwindSafe for JwtRefreshEvent
impl Send for JwtRefreshEvent
impl Sync for JwtRefreshEvent
impl Unpin for JwtRefreshEvent
impl UnwindSafe for JwtRefreshEvent
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