pub struct Payload {
pub user_id: u64,
pub algorithm: String,
pub issued_at: DateTime<Utc>,
pub expires: DateTime<Utc>,
}
Fields§
§user_id: u64
§algorithm: String
§issued_at: DateTime<Utc>
§expires: DateTime<Utc>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Payload
impl<'de> Deserialize<'de> for Payload
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