pub struct EthereumTypedDataInput {
pub domain: TypedDataDomainInputParams,
pub message: Map<String, Value>,
pub primary_type: String,
pub types: TypedDataTypesInputParams,
}Expand description
EIP-712 typed data object.
JSON schema
{
"title": "EthereumTypedDataInput",
"description": "EIP-712 typed data object.",
"type": "object",
"required": [
"domain",
"message",
"primary_type",
"types"
],
"properties": {
"domain": {
"$ref": "#/components/schemas/TypedDataDomainInputParams"
},
"message": {
"type": "object",
"additionalProperties": {
"x-stainless-any": true
}
},
"primary_type": {
"type": "string"
},
"types": {
"$ref": "#/components/schemas/TypedDataTypesInputParams"
}
},
"x-stainless-model": "wallets.ethereum_typed_data_input"
}Fields§
§domain: TypedDataDomainInputParams§message: Map<String, Value>§primary_type: String§types: TypedDataTypesInputParamsTrait Implementations§
Source§impl Clone for EthereumTypedDataInput
impl Clone for EthereumTypedDataInput
Source§fn clone(&self) -> EthereumTypedDataInput
fn clone(&self) -> EthereumTypedDataInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EthereumTypedDataInput
impl Debug for EthereumTypedDataInput
Source§impl<'de> Deserialize<'de> for EthereumTypedDataInput
impl<'de> Deserialize<'de> for EthereumTypedDataInput
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
Source§impl From<&EthereumTypedDataInput> for EthereumTypedDataInput
impl From<&EthereumTypedDataInput> for EthereumTypedDataInput
Source§fn from(value: &EthereumTypedDataInput) -> Self
fn from(value: &EthereumTypedDataInput) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EthereumTypedDataInput
impl RefUnwindSafe for EthereumTypedDataInput
impl Send for EthereumTypedDataInput
impl Sync for EthereumTypedDataInput
impl Unpin for EthereumTypedDataInput
impl UnsafeUnpin for EthereumTypedDataInput
impl UnwindSafe for EthereumTypedDataInput
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