pub struct SessionValue<const SESSION_LEN: usize> {
pub session_key: [u8; SESSION_LEN],
pub linked_accounts: Vec<Box<str>>,
pub last_time: DateTime<Utc>,
pub created_time: DateTime<Utc>,
}Expand description
セッションのデータ構造
Fields§
§session_key: [u8; SESSION_LEN]§linked_accounts: Vec<Box<str>>§last_time: DateTime<Utc>§created_time: DateTime<Utc>Auto Trait Implementations§
impl<const SESSION_LEN: usize> Freeze for SessionValue<SESSION_LEN>
impl<const SESSION_LEN: usize> RefUnwindSafe for SessionValue<SESSION_LEN>
impl<const SESSION_LEN: usize> Send for SessionValue<SESSION_LEN>
impl<const SESSION_LEN: usize> Sync for SessionValue<SESSION_LEN>
impl<const SESSION_LEN: usize> Unpin for SessionValue<SESSION_LEN>
impl<const SESSION_LEN: usize> UnsafeUnpin for SessionValue<SESSION_LEN>
impl<const SESSION_LEN: usize> UnwindSafe for SessionValue<SESSION_LEN>
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