Struct ethers::core::abi::struct_def::SolStruct [−][src]
pub struct SolStruct {
pub name: String,
pub fields: Vec<FieldDeclaration, Global>,
}
Expand description
Represents a solidity struct
Fields
name: String
fields: Vec<FieldDeclaration, Global>
Implementations
Parse a solidity struct definition
Example
let s = SolStruct::parse("struct MyStruct { uint x; uint y;}").unwrap();
All the fields of this struct
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SolStruct
impl UnwindSafe for SolStruct
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