Struct ethjson::misc::DappsHistory [−][src]
pub struct DappsHistory {
pub last_accessed: u64,
}History for specific dapp.
Fields
last_accessed: u64
Last accessed timestamp
Methods
impl DappsHistory[src]
impl DappsHistorypub fn read<R, S, D>(reader: R) -> Result<HashMap<D, S>, Error> where
R: Read,
D: From<String> + Hash + Eq,
S: From<DappsHistory> + 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<DappsHistory> + 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<DappsHistory> + 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<DappsHistory> + Clone, Write a hash map of DappId -> $name
Trait Implementations
impl Clone for DappsHistory[src]
impl Clone for DappsHistoryfn clone(&self) -> DappsHistory[src]
fn clone(&self) -> DappsHistoryReturns 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 DappsHistory[src]
impl Debug for DappsHistoryfn 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 DappsHistory[src]
impl PartialEq for DappsHistoryfn eq(&self, other: &DappsHistory) -> bool[src]
fn eq(&self, other: &DappsHistory) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &DappsHistory) -> bool[src]
fn ne(&self, other: &DappsHistory) -> boolThis method tests for !=.
Auto Trait Implementations
impl Send for DappsHistory
impl Send for DappsHistoryimpl Sync for DappsHistory
impl Sync for DappsHistory