pub struct Identity {
pub public_key: PublicKey,
pub secret_key: SecretKey,
}Expand description
A freshly generated voter identity.
Fields§
§public_key: PublicKeyPublic part — publish this so the registrar can add it to the authorised list.
secret_key: SecretKeySecret part — must stay on the voter’s device.
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