pub struct Wallet {
pub lite_identity: String,
pub lite_token_account: String,
/* private fields */
}Expand description
Simple wallet with lite identity and token account
Fields§
§lite_identity: StringLite identity URL
lite_token_account: StringLite token account URL
Implementations§
Source§impl Wallet
impl Wallet
Sourcepub fn keypair(&self) -> &SigningKey
pub fn keypair(&self) -> &SigningKey
Get the signing key
Sourcepub fn public_key(&self) -> [u8; 32]
pub fn public_key(&self) -> [u8; 32]
Get the public key bytes
Sourcepub fn public_key_hash(&self) -> [u8; 32]
pub fn public_key_hash(&self) -> [u8; 32]
Get the public key hash
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Wallet
impl RefUnwindSafe for Wallet
impl Send for Wallet
impl Sync for Wallet
impl Unpin for Wallet
impl UnsafeUnpin for Wallet
impl UnwindSafe for Wallet
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