Struct ethers_core::abi::struct_def::SolStruct [−][src]
pub struct SolStruct {
pub name: String,
pub fields: Vec<FieldDeclaration>,
}Expand description
Represents a solidity struct
Fields
name: Stringfields: Vec<FieldDeclaration>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