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,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 96 bytes