pub struct Create {
pub space: Space,
pub from: Address,
pub value: U256,
pub gas: U256,
pub init: Bytes,
pub create_type: CreateType,
}Expand description
Description of a create action, either a CREATE operation or a create
transaction.
Fields§
§space: SpaceSpace
from: AddressThe address of the creator.
value: U256The value with which the new account is endowed.
gas: U256The gas available for the creation init code.
init: BytesThe init code.
create_type: CreateTypeThe create type CREATE or CREATE2
Implementations§
Trait Implementations§
impl StructuralPartialEq for Create
Auto Trait Implementations§
impl Freeze for Create
impl RefUnwindSafe for Create
impl Send for Create
impl Sync for Create
impl Unpin for Create
impl UnwindSafe for Create
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