Struct moksha_core::model::MintKeyset
source · pub struct MintKeyset {
pub private_keys: HashMap<u64, SecretKey>,
pub public_keys: HashMap<u64, PublicKey>,
pub keyset_id: String,
pub mint_pubkey: PublicKey,
}Fields§
§private_keys: HashMap<u64, SecretKey>§public_keys: HashMap<u64, PublicKey>§keyset_id: String§mint_pubkey: PublicKeyImplementations§
source§impl MintKeyset
impl MintKeyset
pub fn new(seed: String, derivation_path: String) -> MintKeyset
Trait Implementations§
source§impl Clone for MintKeyset
impl Clone for MintKeyset
source§fn clone(&self) -> MintKeyset
fn clone(&self) -> MintKeyset
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl RefUnwindSafe for MintKeyset
impl Send for MintKeyset
impl Sync for MintKeyset
impl Unpin for MintKeyset
impl UnwindSafe for MintKeyset
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