Struct ethers_core::abi::struct_def::FieldDeclaration
source · pub struct FieldDeclaration {
pub name: String,
pub ty: FieldType,
}
Expand description
A field declaration inside a struct
Fields§
§name: String
§ty: FieldType
Implementations§
Trait Implementations§
source§impl Clone for FieldDeclaration
impl Clone for FieldDeclaration
source§fn clone(&self) -> FieldDeclaration
fn clone(&self) -> FieldDeclaration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FieldDeclaration
impl Debug for FieldDeclaration
source§impl PartialEq<FieldDeclaration> for FieldDeclaration
impl PartialEq<FieldDeclaration> for FieldDeclaration
source§fn eq(&self, other: &FieldDeclaration) -> bool
fn eq(&self, other: &FieldDeclaration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.