Struct parables_testing::account::Account [−][src]
pub struct Account<'a> {
pub address: Address,
// some fields omitted
}Fields
address: Address
Methods
impl<'a> Account<'a>[src]
impl<'a> Account<'a>pub fn new(crypto: &'a RefCell<Crypto>) -> Result<Account<'a>, Error>[src]
pub fn new(crypto: &'a RefCell<Crypto>) -> Result<Account<'a>, Error>Create a new address with the give rng implementation.
pub fn sign<'s>(&'s self) -> Signer<'s, 'a>[src]
pub fn sign<'s>(&'s self) -> Signer<'s, 'a>Create a new signer.