pub struct NewUser { /* private fields */ }Implementations§
Source§impl NewUser
impl NewUser
pub fn new( username: &str, full_name: &str, public_key: [u8; 32], tos_revision: u64, tos_digest: [u8; 32], acceptance_signature: [u8; 64], ) -> Result<Self, String>
pub fn username(&self) -> &str
pub fn full_name(&self) -> &str
pub fn public_key(&self) -> [u8; 32]
pub fn tos_revision(&self) -> u64
pub fn tos_digest(&self) -> [u8; 32]
pub fn acceptance_signature(&self) -> [u8; 64]
Auto Trait Implementations§
impl Freeze for NewUser
impl RefUnwindSafe for NewUser
impl Send for NewUser
impl Sync for NewUser
impl Unpin for NewUser
impl UnsafeUnpin for NewUser
impl UnwindSafe for NewUser
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