pub struct EthereumTransactionCondition {
pub field: EthereumTransactionConditionField,
pub field_source: EthereumTransactionConditionFieldSource,
pub operator: ConditionOperator,
pub value: ConditionValue,
}Expand description
The verbatim Ethereum transaction object in an eth_signTransaction or eth_sendTransaction request.
JSON schema
{
"title": "ethereum_transaction",
"description": "The verbatim Ethereum transaction object in an
eth_signTransaction or eth_sendTransaction request.",
"type": "object",
"required": [
"field",
"field_source",
"operator",
"value"
],
"properties": {
"field": {
"title": "EthereumTransactionConditionField",
"type": "string",
"enum": [
"to",
"value"
]
},
"field_source": {
"type": "string",
"enum": [
"ethereum_transaction"
]
},
"operator": {
"$ref": "#/components/schemas/ConditionOperator"
},
"value": {
"$ref": "#/components/schemas/ConditionValue"
}
}
}Fields§
§field: EthereumTransactionConditionField§field_source: EthereumTransactionConditionFieldSource§operator: ConditionOperator§value: ConditionValueTrait Implementations§
Source§impl Clone for EthereumTransactionCondition
impl Clone for EthereumTransactionCondition
Source§fn clone(&self) -> EthereumTransactionCondition
fn clone(&self) -> EthereumTransactionCondition
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 Debug for EthereumTransactionCondition
impl Debug for EthereumTransactionCondition
Source§impl<'de> Deserialize<'de> for EthereumTransactionCondition
impl<'de> Deserialize<'de> for EthereumTransactionCondition
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<&EthereumTransactionCondition> for EthereumTransactionCondition
impl From<&EthereumTransactionCondition> for EthereumTransactionCondition
Source§fn from(value: &EthereumTransactionCondition) -> Self
fn from(value: &EthereumTransactionCondition) -> Self
Converts to this type from the input type.
Source§impl From<EthereumTransactionCondition> for PolicyCondition
impl From<EthereumTransactionCondition> for PolicyCondition
Source§fn from(value: EthereumTransactionCondition) -> Self
fn from(value: EthereumTransactionCondition) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EthereumTransactionCondition
impl RefUnwindSafe for EthereumTransactionCondition
impl Send for EthereumTransactionCondition
impl Sync for EthereumTransactionCondition
impl Unpin for EthereumTransactionCondition
impl UnwindSafe for EthereumTransactionCondition
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