pub struct EthereumSignTypedDataRpcInputParamsTypedData {
pub domain: Map<String, Value>,
pub message: Map<String, Value>,
pub primary_type: String,
pub types: HashMap<String, Vec<EthereumSignTypedDataRpcInputParamsTypedDataTypesValueItem>>,
}Expand description
EthereumSignTypedDataRpcInputParamsTypedData
JSON schema
{
"type": "object",
"required": [
"domain",
"message",
"primary_type",
"types"
],
"properties": {
"domain": {
"type": "object",
"additionalProperties": {}
},
"message": {
"type": "object",
"additionalProperties": {}
},
"primary_type": {
"type": "string"
},
"types": {
"type": "object",
"additionalProperties": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"type"
],
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
}
}
}
}
}
}
}Fields§
§domain: Map<String, Value>§message: Map<String, Value>§primary_type: String§types: HashMap<String, Vec<EthereumSignTypedDataRpcInputParamsTypedDataTypesValueItem>>Trait Implementations§
Source§impl Clone for EthereumSignTypedDataRpcInputParamsTypedData
impl Clone for EthereumSignTypedDataRpcInputParamsTypedData
Source§fn clone(&self) -> EthereumSignTypedDataRpcInputParamsTypedData
fn clone(&self) -> EthereumSignTypedDataRpcInputParamsTypedData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for EthereumSignTypedDataRpcInputParamsTypedData
impl<'de> Deserialize<'de> for EthereumSignTypedDataRpcInputParamsTypedData
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EthereumSignTypedDataRpcInputParamsTypedData, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EthereumSignTypedDataRpcInputParamsTypedData, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&EthereumSignTypedDataRpcInputParamsTypedData> for EthereumSignTypedDataRpcInputParamsTypedData
impl From<&EthereumSignTypedDataRpcInputParamsTypedData> for EthereumSignTypedDataRpcInputParamsTypedData
Source§fn from(
value: &EthereumSignTypedDataRpcInputParamsTypedData,
) -> EthereumSignTypedDataRpcInputParamsTypedData
fn from( value: &EthereumSignTypedDataRpcInputParamsTypedData, ) -> EthereumSignTypedDataRpcInputParamsTypedData
Converts to this type from the input type.
Source§impl Serialize for EthereumSignTypedDataRpcInputParamsTypedData
impl Serialize for EthereumSignTypedDataRpcInputParamsTypedData
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 EthereumSignTypedDataRpcInputParamsTypedData
impl RefUnwindSafe for EthereumSignTypedDataRpcInputParamsTypedData
impl Send for EthereumSignTypedDataRpcInputParamsTypedData
impl Sync for EthereumSignTypedDataRpcInputParamsTypedData
impl Unpin for EthereumSignTypedDataRpcInputParamsTypedData
impl UnwindSafe for EthereumSignTypedDataRpcInputParamsTypedData
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