Struct cfx_rpc_eth_types::AccountOverride
source · pub struct AccountOverride {
pub balance: Option<U256>,
pub nonce: Option<u64>,
pub code: Option<Bytes>,
pub state: AccountStateOverrideMode,
pub move_precompile_to: Option<Address>,
}
Fields§
§balance: Option<U256>
§nonce: Option<u64>
§code: Option<Bytes>
§state: AccountStateOverrideMode
§move_precompile_to: Option<Address>
Trait Implementations§
source§impl Clone for AccountOverride
impl Clone for AccountOverride
source§fn clone(&self) -> AccountOverride
fn clone(&self) -> AccountOverride
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 AccountOverride
impl Debug for AccountOverride
source§impl PartialEq for AccountOverride
impl PartialEq for AccountOverride
source§fn eq(&self, other: &AccountOverride) -> bool
fn eq(&self, other: &AccountOverride) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<RpcAccountOverride> for AccountOverride
impl TryFrom<RpcAccountOverride> for AccountOverride
impl Eq for AccountOverride
impl StructuralPartialEq for AccountOverride
Auto Trait Implementations§
impl RefUnwindSafe for AccountOverride
impl Send for AccountOverride
impl Sync for AccountOverride
impl Unpin for AccountOverride
impl UnwindSafe for AccountOverride
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.