Enum ethers::abi::struct_def::FieldType [−][src]
pub enum FieldType {
Elementary(ParamType),
Struct(StructFieldType),
Mapping(Box<MappingType, Global>),
}
Expand description
A field declaration inside a struct
Variants
Elementary(ParamType)
Tuple Fields
0: ParamType
Represents elementary types, see ParamType
Note: tuples will be treated as rust tuples
Struct(StructFieldType)
Tuple Fields
A non elementary type field, treated as user defined struct
Mapping(Box<MappingType, Global>)
Tuple Fields
0: Box<MappingType, Global>
Mapping
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FieldType
impl UnwindSafe for FieldType
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