Struct terra_rust_wallet::Wallet[][src]

pub struct Wallet<'a> {
    pub name: &'a str,
}
Expand description

Wallet operations based on Keyring API

stores key names in another ‘username/password’ to facilitate listing keys, and deletion of ALL keys in a wallet

Fields

name: &'a str

Implementations

create a new wallet to store keys into. This just creates the structure use #new to create a new wallet

setups the wallet structure

retrieves the private key from the keyring

retrieves the public key associated with the stored private key

stores the private key into the keyring

deletes the private key from the keyring

lists the keys in the wallet

deletes the wallet and ALL the keys in the wallet

get list of wallets

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.