pub struct AdminTokenParams<'a> {
pub user_id: &'a UserId,
pub session_id: &'a SessionId,
pub email: &'a str,
pub jwt_secret: &'a str,
pub issuer: &'a str,
pub duration: Duration,
}Fields§
§user_id: &'a UserId§session_id: &'a SessionId§email: &'a str§jwt_secret: &'a str§issuer: &'a str§duration: DurationTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for AdminTokenParams<'a>
impl<'a> RefUnwindSafe for AdminTokenParams<'a>
impl<'a> Send for AdminTokenParams<'a>
impl<'a> Sync for AdminTokenParams<'a>
impl<'a> Unpin for AdminTokenParams<'a>
impl<'a> UnwindSafe for AdminTokenParams<'a>
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