pub struct ErrorParam {
pub name: String,
pub ty: String,
}Expand description
A single parameter in an error signature.
Fields§
§name: StringParameter name (may be empty for unnamed params).
ty: StringSolidity type string (e.g. "address", "uint256", "bytes32").
Trait Implementations§
Source§impl Clone for ErrorParam
impl Clone for ErrorParam
Source§fn clone(&self) -> ErrorParam
fn clone(&self) -> ErrorParam
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 moreSource§impl Debug for ErrorParam
impl Debug for ErrorParam
Source§impl<'de> Deserialize<'de> for ErrorParam
impl<'de> Deserialize<'de> for ErrorParam
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ErrorParam
impl RefUnwindSafe for ErrorParam
impl Send for ErrorParam
impl Sync for ErrorParam
impl Unpin for ErrorParam
impl UnsafeUnpin for ErrorParam
impl UnwindSafe for ErrorParam
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