pub struct PropDef<'a> {
pub ty: TypeSpecifier<'a>,
pub name: &'a str,
}
Available on crate feature
eip712
only.Expand description
A property is a type and a name. Of the form type name
. E.g.
uint256 foo
or (MyStruct[23],bool) bar
.
Fields§
§ty: TypeSpecifier<'a>
The prop type specifier.
name: &'a str
The prop name.
Implementations§
Trait Implementations§
impl<'a> Eq for PropDef<'a>
impl<'a> StructuralPartialEq for PropDef<'a>
Auto Trait Implementations§
impl<'a> Freeze for PropDef<'a>
impl<'a> RefUnwindSafe for PropDef<'a>
impl<'a> Send for PropDef<'a>
impl<'a> Sync for PropDef<'a>
impl<'a> Unpin for PropDef<'a>
impl<'a> UnwindSafe for PropDef<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)