Struct ethjson::misc::DappsSettings [−][src]
Settings for specific dapp.
Fields
accounts: Option<Vec<Address>>
A list of accounts this Dapp can see.
default: Option<Address>
Default account
Methods
impl DappsSettings[src]
impl DappsSettingspub fn read<R, S, D>(reader: R) -> Result<HashMap<D, S>, Error> where
R: Read,
D: From<String> + Hash + Eq,
S: From<DappsSettings> + Clone, [src]
pub fn read<R, S, D>(reader: R) -> Result<HashMap<D, S>, Error> where
R: Read,
D: From<String> + Hash + Eq,
S: From<DappsSettings> + Clone, Read a hash map of DappId -> $name
pub fn write<W, S, D>(m: &HashMap<D, S>, writer: &mut W) -> Result<(), Error> where
W: Write,
D: Into<String> + Hash + Eq + Clone,
S: Into<DappsSettings> + Clone, [src]
pub fn write<W, S, D>(m: &HashMap<D, S>, writer: &mut W) -> Result<(), Error> where
W: Write,
D: Into<String> + Hash + Eq + Clone,
S: Into<DappsSettings> + Clone, Write a hash map of DappId -> $name
Trait Implementations
impl Clone for DappsSettings[src]
impl Clone for DappsSettingsfn clone(&self) -> DappsSettings[src]
fn clone(&self) -> DappsSettingsReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for DappsSettings[src]
impl Debug for DappsSettingsfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for DappsSettings[src]
impl PartialEq for DappsSettingsfn eq(&self, other: &DappsSettings) -> bool[src]
fn eq(&self, other: &DappsSettings) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &DappsSettings) -> bool[src]
fn ne(&self, other: &DappsSettings) -> boolThis method tests for !=.
Auto Trait Implementations
impl Send for DappsSettings
impl Send for DappsSettingsimpl Sync for DappsSettings
impl Sync for DappsSettings