pub struct TempoTransactionCondition {
pub field: TempoTransactionConditionField,
pub field_source: TempoTransactionConditionFieldSource,
pub operator: ConditionOperator,
pub value: ConditionValue,
}Expand description
A Tempo (type 118) transaction-level field. Evaluated once per transaction (not per call).
JSON schema
{
"title": "TempoTransactionCondition",
"description": "A Tempo (type 118) transaction-level field. Evaluated
once per transaction (not per call).",
"type": "object",
"required": [
"field",
"field_source",
"operator",
"value"
],
"properties": {
"field": {
"$ref": "#/components/schemas/TempoTransactionConditionField"
},
"field_source": {
"type": "string",
"enum": [
"tempo_transaction"
]
},
"operator": {
"$ref": "#/components/schemas/ConditionOperator"
},
"value": {
"$ref": "#/components/schemas/ConditionValue"
}
},
"x-stainless-model": "policies.tempo_transaction_condition"
}Fields§
§field: TempoTransactionConditionField§field_source: TempoTransactionConditionFieldSource§operator: ConditionOperator§value: ConditionValueTrait Implementations§
Source§impl Clone for TempoTransactionCondition
impl Clone for TempoTransactionCondition
Source§fn clone(&self) -> TempoTransactionCondition
fn clone(&self) -> TempoTransactionCondition
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 TempoTransactionCondition
impl Debug for TempoTransactionCondition
Source§impl<'de> Deserialize<'de> for TempoTransactionCondition
impl<'de> Deserialize<'de> for TempoTransactionCondition
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<&TempoTransactionCondition> for TempoTransactionCondition
impl From<&TempoTransactionCondition> for TempoTransactionCondition
Source§fn from(value: &TempoTransactionCondition) -> Self
fn from(value: &TempoTransactionCondition) -> Self
Converts to this type from the input type.
Source§impl From<TempoTransactionCondition> for PolicyCondition
impl From<TempoTransactionCondition> for PolicyCondition
Source§fn from(value: TempoTransactionCondition) -> Self
fn from(value: TempoTransactionCondition) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TempoTransactionCondition
impl RefUnwindSafe for TempoTransactionCondition
impl Send for TempoTransactionCondition
impl Sync for TempoTransactionCondition
impl Unpin for TempoTransactionCondition
impl UnsafeUnpin for TempoTransactionCondition
impl UnwindSafe for TempoTransactionCondition
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