pub struct EncodeType<'a> {
pub types: Vec<ComponentType<'a>>,
}
Available on crate feature
eip712
only.Expand description
Represents a list of component types in an EIP-712 encodeType
type string.
Fields§
§types: Vec<ComponentType<'a>>
The list of component types.
Implementations§
Trait Implementations§
Source§impl<'a> Debug for EncodeType<'a>
impl<'a> Debug for EncodeType<'a>
Source§impl<'a> PartialEq for EncodeType<'a>
impl<'a> PartialEq for EncodeType<'a>
Source§impl<'a> TryFrom<&'a str> for EncodeType<'a>
impl<'a> TryFrom<&'a str> for EncodeType<'a>
impl<'a> Eq for EncodeType<'a>
impl<'a> StructuralPartialEq for EncodeType<'a>
Auto Trait Implementations§
impl<'a> Freeze for EncodeType<'a>
impl<'a> RefUnwindSafe for EncodeType<'a>
impl<'a> Send for EncodeType<'a>
impl<'a> Sync for EncodeType<'a>
impl<'a> Unpin for EncodeType<'a>
impl<'a> UnwindSafe for EncodeType<'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
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: 24 bytes