pub struct CreateCustomerCommitV1BodySpecifiersItem {
pub exclude: Vec<CreateCustomerCommitV1BodySpecifiersItemExcludeItem>,
pub presentation_group_values: HashMap<String, String>,
pub pricing_group_values: HashMap<String, String>,
pub product_id: Option<Uuid>,
pub product_tags: Vec<String>,
}Expand description
CreateCustomerCommitV1BodySpecifiersItem
JSON schema
{
"type": "object",
"properties": {
"exclude": {
"description": "If provided, the specifier will not apply to
product usage that matches the inclusion criteria and any of the
excluding values.",
"type": "array",
"items": {
"type": "object",
"properties": {
"product_tags": {
"description": "If provided, the specifier will not apply to
products with all the specified tags.",
"type": "array",
"items": {
"type": "string"
}
}
}
},
"x-mint": {
"groups": [
"ff:exclude-specifiers-ga"
]
},
"x-stainless-skip": true
},
"presentation_group_values": {
"description": "If provided, the specifier will apply to product
usage with these set of presentation group values.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"pricing_group_values": {
"description": "If provided, the specifier will apply to product
usage with these set of pricing group values.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"product_id": {
"description": "If provided, the specifier will only apply to the
product with the specified ID.",
"type": "string",
"format": "uuid"
},
"product_tags": {
"description": "If provided, the specifier will only apply to
products with all the specified tags.",
"type": "array",
"items": {
"type": "string"
}
}
}
}Fields§
§exclude: Vec<CreateCustomerCommitV1BodySpecifiersItemExcludeItem>If provided, the specifier will not apply to product usage that matches the inclusion criteria and any of the excluding values.
presentation_group_values: HashMap<String, String>If provided, the specifier will apply to product usage with these set of presentation group values.
pricing_group_values: HashMap<String, String>If provided, the specifier will apply to product usage with these set of pricing group values.
product_id: Option<Uuid>If provided, the specifier will only apply to the product with the specified ID.
If provided, the specifier will only apply to products with all the specified tags.
Trait Implementations§
Source§impl Clone for CreateCustomerCommitV1BodySpecifiersItem
impl Clone for CreateCustomerCommitV1BodySpecifiersItem
Source§fn clone(&self) -> CreateCustomerCommitV1BodySpecifiersItem
fn clone(&self) -> CreateCustomerCommitV1BodySpecifiersItem
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<'de> Deserialize<'de> for CreateCustomerCommitV1BodySpecifiersItem
impl<'de> Deserialize<'de> for CreateCustomerCommitV1BodySpecifiersItem
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
Auto Trait Implementations§
impl Freeze for CreateCustomerCommitV1BodySpecifiersItem
impl RefUnwindSafe for CreateCustomerCommitV1BodySpecifiersItem
impl Send for CreateCustomerCommitV1BodySpecifiersItem
impl Sync for CreateCustomerCommitV1BodySpecifiersItem
impl Unpin for CreateCustomerCommitV1BodySpecifiersItem
impl UnsafeUnpin for CreateCustomerCommitV1BodySpecifiersItem
impl UnwindSafe for CreateCustomerCommitV1BodySpecifiersItem
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