Struct ethers_core::types::AccountState
source · pub struct AccountState {
pub balance: Option<U256>,
pub code: Option<String>,
pub nonce: Option<U256>,
pub storage: Option<BTreeMap<H256, H256>>,
}
Fields§
§balance: Option<U256>
§code: Option<String>
§nonce: Option<U256>
§storage: Option<BTreeMap<H256, H256>>
Trait Implementations§
source§impl Clone for AccountState
impl Clone for AccountState
source§fn clone(&self) -> AccountState
fn clone(&self) -> AccountState
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AccountState
impl Debug for AccountState
source§impl Default for AccountState
impl Default for AccountState
source§fn default() -> AccountState
fn default() -> AccountState
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AccountState
impl<'de> Deserialize<'de> for AccountState
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for AccountState
impl PartialEq for AccountState
source§fn eq(&self, other: &AccountState) -> bool
fn eq(&self, other: &AccountState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AccountState
impl Serialize for AccountState
impl Eq for AccountState
impl StructuralEq for AccountState
impl StructuralPartialEq for AccountState
Auto Trait Implementations§
impl RefUnwindSafe for AccountState
impl Send for AccountState
impl Sync for AccountState
impl Unpin for AccountState
impl UnwindSafe for AccountState
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more