pub struct SolidityStruct {
pub name: String,
pub fields: Vec<(SolidityType, String)>,
pub doc: Option<String>,
}Expand description
A struct definition.
Fields§
§name: String§fields: Vec<(SolidityType, String)>§doc: Option<String>Trait Implementations§
Source§impl Clone for SolidityStruct
impl Clone for SolidityStruct
Source§fn clone(&self) -> SolidityStruct
fn clone(&self) -> SolidityStruct
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for SolidityStruct
impl RefUnwindSafe for SolidityStruct
impl Send for SolidityStruct
impl Sync for SolidityStruct
impl Unpin for SolidityStruct
impl UnsafeUnpin for SolidityStruct
impl UnwindSafe for SolidityStruct
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