pub struct Address(pub H160);Expand description
The address type of Solidity.
H160 could represent 2 types of data (bytes20 and address) that are not encoded the same way.
To avoid issues writing H160 is thus not supported.
Tuple Fields§
§0: H160Trait Implementations§
Source§impl EvmData for Address
impl EvmData for Address
fn read(reader: &mut EvmDataReader<'_>) -> EvmResult<Self>
fn write(writer: &mut EvmDataWriter, value: Self)
impl Copy for Address
impl Eq for Address
impl StructuralPartialEq for Address
Auto Trait Implementations§
impl Freeze for Address
impl RefUnwindSafe for Address
impl Send for Address
impl Sync for Address
impl Unpin for Address
impl UnwindSafe for Address
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