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 for FieldDeclaration
impl PartialEq 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 ==
.impl StructuralPartialEq for FieldDeclaration
Auto Trait Implementations§
impl RefUnwindSafe for FieldDeclaration
impl Send for FieldDeclaration
impl Sync for FieldDeclaration
impl Unpin for FieldDeclaration
impl UnwindSafe for FieldDeclaration
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more