pub struct Identity {
pub alias: String,
pub pub_key: String,
pub epub_key: Option<String>,
}Expand description
Identity metadata for an authenticated user.
Mirrors Gun.js user.is semantics.
Fields§
§alias: String§pub_key: String§epub_key: Option<String>Trait 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