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<EthereumTypedDataInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EthereumTypedDataInput, <__D as Deserializer<'de>>::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) -> EthereumTypedDataInput
fn from(value: &EthereumTypedDataInput) -> EthereumTypedDataInput
Converts to this type from the input type.
Source§impl Serialize for EthereumTypedDataInput
impl Serialize for EthereumTypedDataInput
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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