pub struct Dependencies<'a> {
    pub client: Arc<Client>,
    pub sync: Arc<dyn SyncProvider>,
    pub miner: Arc<Miner>,
    pub account_provider: Arc<AccountProvider>,
    pub accounts_passwords: &'a [Password],
}
Expand description

Secret store dependencies

Fields

client: Arc<Client>

Blockchain client.

sync: Arc<dyn SyncProvider>

Sync provider.

miner: Arc<Miner>

Miner service.

account_provider: Arc<AccountProvider>

Account provider.

accounts_passwords: &'a [Password]

Passed accounts passwords.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.