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 DappsSettings
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,
[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 DappsSettings
fn clone(&self) -> DappsSettings
[src]
fn clone(&self) -> DappsSettings
Returns 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 DappsSettings
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for DappsSettings
[src]
impl PartialEq for DappsSettings
fn eq(&self, other: &DappsSettings) -> bool
[src]
fn eq(&self, other: &DappsSettings) -> bool
This 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) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for DappsSettings
impl Send for DappsSettings
impl Sync for DappsSettings
impl Sync for DappsSettings