[][src]Struct private_currency::storage::WalletInfo

pub struct WalletInfo {
    pub public_key: PublicKey,
    pub balance: Commitment,
}

Gist of information about the wallet, stripped of auxiliary data.

Fields

Ed25519 public key associated with the wallet. Transactions originating from the wallet need to be digitally signed with the paired secret key.

Commitment to the current wallet balance.

Methods

impl WalletInfo
[src]

Computes the encryption key associated with the wallet.

Trait Implementations

impl Clone for WalletInfo
[src]

Performs copy-assignment from source. Read more

impl Eq for WalletInfo
[src]

impl PartialEq<WalletInfo> for WalletInfo
[src]

impl Debug for WalletInfo
[src]

Auto Trait Implementations

impl Send for WalletInfo

impl Sync for WalletInfo

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Erased for T

impl<T> Erased for T

impl<Q, K> Equivalent for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> Same for T

Should always be Self