Enum ethjson::misc::NewDappsPolicy[][src]

pub enum NewDappsPolicy {
    AllAccounts {
        default: Address,
    },
    Whitelist(Vec<Address>),
}

Accounts policy for new dapps.

Variants

All accounts are exposed by default.

Fields of AllAccounts

Default account, which should be returned as the first one.

Only accounts listed here are exposed by default for new dapps.

Methods

impl NewDappsPolicy
[src]

Read a hash map of DappId -> $name

Write a hash map of DappId -> $name

Trait Implementations

impl Clone for NewDappsPolicy
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for NewDappsPolicy
[src]

Formats the value using the given formatter. Read more

impl PartialEq for NewDappsPolicy
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for NewDappsPolicy

impl Sync for NewDappsPolicy