pub struct EthereumCalldataCondition {
pub abi: Map<String, Value>,
pub field: String,
pub field_source: EthereumCalldataConditionFieldSource,
pub operator: ConditionOperator,
pub value: ConditionValue,
}Expand description
The decoded calldata in a smart contract interaction as the smart contract method’s parameters. Note that that ‘ethereum_calldata’ conditions must contain an abi parameter with the JSON ABI of the smart contract.
JSON schema
{
"title": "ethereum_calldata",
"description": "The decoded calldata in a smart contract interaction as
the smart contract method's parameters. Note that that
'ethereum_calldata' conditions must contain an abi parameter with the
JSON ABI of the smart contract.",
"type": "object",
"required": [
"abi",
"field",
"field_source",
"operator",
"value"
],
"properties": {
"abi": {
"type": "object"
},
"field": {
"title": "EthereumCalldataConditionField",
"type": "string"
},
"field_source": {
"type": "string",
"enum": [
"ethereum_calldata"
]
},
"operator": {
"$ref": "#/components/schemas/ConditionOperator"
},
"value": {
"$ref": "#/components/schemas/ConditionValue"
}
}
}Fields§
§abi: Map<String, Value>§field: String§field_source: EthereumCalldataConditionFieldSource§operator: ConditionOperator§value: ConditionValueTrait Implementations§
Source§impl Clone for EthereumCalldataCondition
impl Clone for EthereumCalldataCondition
Source§fn clone(&self) -> EthereumCalldataCondition
fn clone(&self) -> EthereumCalldataCondition
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 EthereumCalldataCondition
impl Debug for EthereumCalldataCondition
Source§impl<'de> Deserialize<'de> for EthereumCalldataCondition
impl<'de> Deserialize<'de> for EthereumCalldataCondition
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<&EthereumCalldataCondition> for EthereumCalldataCondition
impl From<&EthereumCalldataCondition> for EthereumCalldataCondition
Source§fn from(value: &EthereumCalldataCondition) -> Self
fn from(value: &EthereumCalldataCondition) -> Self
Converts to this type from the input type.
Source§impl From<EthereumCalldataCondition> for PolicyCondition
impl From<EthereumCalldataCondition> for PolicyCondition
Source§fn from(value: EthereumCalldataCondition) -> Self
fn from(value: EthereumCalldataCondition) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EthereumCalldataCondition
impl RefUnwindSafe for EthereumCalldataCondition
impl Send for EthereumCalldataCondition
impl Sync for EthereumCalldataCondition
impl Unpin for EthereumCalldataCondition
impl UnwindSafe for EthereumCalldataCondition
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