pub struct TypedData {
pub types: HashMap<String, Vec<TypedDataField>>,
pub primary_type: String,
pub domain: TypedDataDomain,
pub container: Option<TypedDataContainer>,
pub message: Value,
}Expand description
EIP-712 typed data as received for signing.
Fields§
§types: HashMap<String, Vec<TypedDataField>>§primary_type: String§domain: TypedDataDomain§container: Option<TypedDataContainer>§message: ValueTrait Implementations§
Source§impl<'de> Deserialize<'de> for TypedData
impl<'de> Deserialize<'de> for TypedData
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 TypedData
impl RefUnwindSafe for TypedData
impl Send for TypedData
impl Sync for TypedData
impl Unpin for TypedData
impl UnsafeUnpin for TypedData
impl UnwindSafe for TypedData
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