pub struct AccountState {
pub balance: Option<U256>,
pub nonce: Option<u64>,
pub code: Option<Bytes>,
pub code_hash: Option<B256>,
pub storage: Option<BTreeMap<B256, B256>>,
}Expand description
One account as reported by geth’s prestateTracer in diff mode. In pre
it is the state before the transaction (only accounts that changed); in
post only the fields that changed are present.
Fields§
§balance: Option<U256>§nonce: Option<u64>§code: Option<Bytes>§code_hash: Option<B256>§storage: Option<BTreeMap<B256, B256>>Trait Implementations§
Source§impl Clone for AccountState
impl Clone for AccountState
Source§impl Debug for AccountState
impl Debug for AccountState
Source§impl Default for AccountState
impl Default for AccountState
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
impl Eq for AccountState
Source§impl PartialEq for AccountState
impl PartialEq for AccountState
Source§impl Serialize for AccountState
impl Serialize for AccountState
impl StructuralPartialEq for AccountState
Auto Trait Implementations§
impl Freeze for AccountState
impl RefUnwindSafe for AccountState
impl Send for AccountState
impl Sync for AccountState
impl Unpin for AccountState
impl UnsafeUnpin 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