pub struct Keypair<F: PrimeField, H: FieldHasher<F>> {
pub secret_key: Option<F>,
pub public_key: F,
/* private fields */
}Fields§
§secret_key: Option<F>§public_key: FImplementations§
Source§impl<F: PrimeField, H: FieldHasher<F>> Keypair<F, H>
impl<F: PrimeField, H: FieldHasher<F>> Keypair<F, H>
Trait Implementations§
Source§impl<F: PrimeField, H: FieldHasher<F>> Clone for Keypair<F, H>
impl<F: PrimeField, H: FieldHasher<F>> Clone for Keypair<F, H>
Source§impl<F: Debug + PrimeField, H: Debug + FieldHasher<F>> Debug for Keypair<F, H>
impl<F: Debug + PrimeField, H: Debug + FieldHasher<F>> Debug for Keypair<F, H>
Source§impl<F: Default + PrimeField, H: Default + FieldHasher<F>> Default for Keypair<F, H>
impl<F: Default + PrimeField, H: Default + FieldHasher<F>> Default for Keypair<F, H>
impl<F: Copy + PrimeField, H: Copy + FieldHasher<F>> Copy for Keypair<F, H>
Auto Trait Implementations§
impl<F, H> Freeze for Keypair<F, H>where
F: Freeze,
impl<F, H> RefUnwindSafe for Keypair<F, H>where
F: RefUnwindSafe,
H: RefUnwindSafe,
impl<F, H> Send for Keypair<F, H>where
H: Send,
impl<F, H> Sync for Keypair<F, H>where
H: Sync,
impl<F, H> Unpin for Keypair<F, H>
impl<F, H> UnwindSafe for Keypair<F, H>where
F: UnwindSafe,
H: UnwindSafe,
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