pub enum ScopeConstraint {
Market(String),
Geography(String),
Product(String),
TimeWindow {
start: Option<String>,
end: Option<String>,
description: String,
},
CustomerSegment(String),
Custom {
key: String,
value: String,
},
}Expand description
A constraint on the scope of the intent.
Variants§
Market(String)
Market segment (e.g., “Nordic B2B”).
Geography(String)
Geographic region (e.g., “EMEA”).
Product(String)
Product or service category.
TimeWindow
Time window for the analysis.
CustomerSegment(String)
Customer segment.
Custom
Custom scope constraint.
Trait Implementations§
Source§impl Clone for ScopeConstraint
impl Clone for ScopeConstraint
Source§fn clone(&self) -> ScopeConstraint
fn clone(&self) -> ScopeConstraint
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 ScopeConstraint
impl Debug for ScopeConstraint
Source§impl Hash for ScopeConstraint
impl Hash for ScopeConstraint
Source§impl PartialEq for ScopeConstraint
impl PartialEq for ScopeConstraint
impl Eq for ScopeConstraint
impl StructuralPartialEq for ScopeConstraint
Auto Trait Implementations§
impl Freeze for ScopeConstraint
impl RefUnwindSafe for ScopeConstraint
impl Send for ScopeConstraint
impl Sync for ScopeConstraint
impl Unpin for ScopeConstraint
impl UnwindSafe for ScopeConstraint
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