[][src]Struct ethereumvm::DynamicAccountPatch

pub struct DynamicAccountPatch {
    pub initial_nonce: U256,
    pub initial_create_nonce: U256,
    pub empty_considered_exists: bool,
    pub allow_partial_change: bool,
}

AccountPatch that can be configured in client code runtime

Fields

initial_nonce: U256

Initial nonce for accounts.

initial_create_nonce: U256

Initial create nonce for accounts. (EIP161.a)

empty_considered_exists: bool

Whether empty accounts are considered to be existing. (EIP161.b/EIP161.c/EIP161.d)

allow_partial_change: bool

Whether to allow partial change IncreaseBalance.

Trait Implementations

impl AccountPatch for DynamicAccountPatch[src]

fn allow_partial_change(&self) -> bool[src]

Whether to allow partial change IncreaseBalance.

impl Copy for DynamicAccountPatch[src]

impl Clone for DynamicAccountPatch[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self