pub struct Identity {
pub user_id: String,
pub display_name: String,
pub verification_key: [u8; 32],
pub attributes: HashMap<String, String>,
pub created_at: u64,
}Expand description
User identity.
Fields§
§user_id: String§display_name: String§verification_key: [u8; 32]§attributes: HashMap<String, String>§created_at: u64Trait Implementations§
Auto Trait Implementations§
impl Freeze for Identity
impl RefUnwindSafe for Identity
impl Send for Identity
impl Sync for Identity
impl Unpin for Identity
impl UnsafeUnpin for Identity
impl UnwindSafe for Identity
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