pub struct JwtTemplate {
pub object: Object,
pub id: String,
pub name: String,
pub claims: Value,
pub lifetime: i64,
pub allowed_clock_skew: i64,
pub custom_signing_key: Option<bool>,
pub signing_algorithm: Option<String>,
pub created_at: i64,
pub updated_at: i64,
}Fields§
§object: Object§id: String§name: String§claims: Value§lifetime: i64§allowed_clock_skew: i64§custom_signing_key: Option<bool>§signing_algorithm: Option<String>§created_at: i64Unix timestamp of creation.
updated_at: i64Unix timestamp of last update.
Implementations§
Trait Implementations§
Source§impl Clone for JwtTemplate
impl Clone for JwtTemplate
Source§fn clone(&self) -> JwtTemplate
fn clone(&self) -> JwtTemplate
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 JwtTemplate
impl Debug for JwtTemplate
Source§impl<'de> Deserialize<'de> for JwtTemplate
impl<'de> Deserialize<'de> for JwtTemplate
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 JwtTemplate
impl PartialEq for JwtTemplate
Source§impl Serialize for JwtTemplate
impl Serialize for JwtTemplate
impl StructuralPartialEq for JwtTemplate
Auto Trait Implementations§
impl Freeze for JwtTemplate
impl RefUnwindSafe for JwtTemplate
impl Send for JwtTemplate
impl Sync for JwtTemplate
impl Unpin for JwtTemplate
impl UnwindSafe for JwtTemplate
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