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<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<&EthereumSignTypedDataRpcInputParamsTypedData> for EthereumSignTypedDataRpcInputParamsTypedData
impl From<&EthereumSignTypedDataRpcInputParamsTypedData> for EthereumSignTypedDataRpcInputParamsTypedData
Source§fn from(value: &EthereumSignTypedDataRpcInputParamsTypedData) -> Self
fn from(value: &EthereumSignTypedDataRpcInputParamsTypedData) -> Self
Converts to this type from the input type.
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