pub struct TronCalldataCondition {
pub abi: AbiSchema,
pub field: String,
pub field_source: TronCalldataConditionFieldSource,
pub operator: ConditionOperator,
pub value: ConditionValue,
}Expand description
Decoded calldata from a TRON TriggerSmartContract interaction.
JSON schema
{
"title": "TronCalldataCondition",
"description": "Decoded calldata from a TRON TriggerSmartContract
interaction.",
"type": "object",
"required": [
"abi",
"field",
"field_source",
"operator",
"value"
],
"properties": {
"abi": {
"$ref": "#/components/schemas/AbiSchema"
},
"field": {
"title": "TronCalldataConditionField",
"type": "string"
},
"field_source": {
"type": "string",
"enum": [
"tron_trigger_smart_contract_data"
]
},
"operator": {
"$ref": "#/components/schemas/ConditionOperator"
},
"value": {
"$ref": "#/components/schemas/ConditionValue"
}
},
"x-stainless-model": "policies.tron_calldata_condition"
}Fields§
§abi: AbiSchema§field: String§field_source: TronCalldataConditionFieldSource§operator: ConditionOperator§value: ConditionValueTrait Implementations§
Source§impl Clone for TronCalldataCondition
impl Clone for TronCalldataCondition
Source§fn clone(&self) -> TronCalldataCondition
fn clone(&self) -> TronCalldataCondition
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 TronCalldataCondition
impl Debug for TronCalldataCondition
Source§impl<'de> Deserialize<'de> for TronCalldataCondition
impl<'de> Deserialize<'de> for TronCalldataCondition
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<&TronCalldataCondition> for TronCalldataCondition
impl From<&TronCalldataCondition> for TronCalldataCondition
Source§fn from(value: &TronCalldataCondition) -> Self
fn from(value: &TronCalldataCondition) -> Self
Converts to this type from the input type.
Source§impl From<TronCalldataCondition> for PolicyCondition
impl From<TronCalldataCondition> for PolicyCondition
Source§fn from(value: TronCalldataCondition) -> Self
fn from(value: TronCalldataCondition) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TronCalldataCondition
impl RefUnwindSafe for TronCalldataCondition
impl Send for TronCalldataCondition
impl Sync for TronCalldataCondition
impl Unpin for TronCalldataCondition
impl UnsafeUnpin for TronCalldataCondition
impl UnwindSafe for TronCalldataCondition
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