pub struct AggregationCondition {
pub field: AggregationConditionField,
pub field_source: AggregationConditionFieldSource,
pub operator: ConditionOperator,
pub value: ConditionValue,
}Expand description
Condition referencing an aggregation value. The field must start with “aggregation.” followed by the aggregation ID.
JSON schema
{
"title": "AggregationCondition",
"description": "Condition referencing an aggregation value. The field
must start with \"aggregation.\" followed by the aggregation ID.",
"type": "object",
"required": [
"field",
"field_source",
"operator",
"value"
],
"properties": {
"field": {
"title": "AggregationConditionField",
"type": "string",
"pattern": "^aggregation\\."
},
"field_source": {
"type": "string",
"enum": [
"reference"
]
},
"operator": {
"$ref": "#/components/schemas/ConditionOperator"
},
"value": {
"$ref": "#/components/schemas/ConditionValue"
}
},
"x-stainless-model": "policies.aggregation_condition"
}Fields§
§field: AggregationConditionField§field_source: AggregationConditionFieldSource§operator: ConditionOperator§value: ConditionValueTrait Implementations§
Source§impl Clone for AggregationCondition
impl Clone for AggregationCondition
Source§fn clone(&self) -> AggregationCondition
fn clone(&self) -> AggregationCondition
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 AggregationCondition
impl Debug for AggregationCondition
Source§impl<'de> Deserialize<'de> for AggregationCondition
impl<'de> Deserialize<'de> for AggregationCondition
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<&AggregationCondition> for AggregationCondition
impl From<&AggregationCondition> for AggregationCondition
Source§fn from(value: &AggregationCondition) -> Self
fn from(value: &AggregationCondition) -> Self
Converts to this type from the input type.
Source§impl From<AggregationCondition> for PolicyCondition
impl From<AggregationCondition> for PolicyCondition
Source§fn from(value: AggregationCondition) -> Self
fn from(value: AggregationCondition) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AggregationCondition
impl RefUnwindSafe for AggregationCondition
impl Send for AggregationCondition
impl Sync for AggregationCondition
impl Unpin for AggregationCondition
impl UnsafeUnpin for AggregationCondition
impl UnwindSafe for AggregationCondition
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