Struct ethers::core::abi::param_type::Writer [−]
pub struct Writer;
Expand description
Output formatter for param type.
Implementations
impl Writer
impl Writer
Returns string which is a formatted represenation of param.
pub fn write_for_abi(
param: &ParamType,
serialize_tuple_contents: bool
) -> String
pub fn write_for_abi(
param: &ParamType,
serialize_tuple_contents: bool
) -> String
If serialize_tuple_contents
is true
, tuples will be represented
as list of inner types in parens, for example (int256,bool)
.
If it is false
, tuples will be represented as keyword tuple
.
Auto Trait Implementations
impl RefUnwindSafe for Writer
impl UnwindSafe for Writer
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more