pub enum Criteria {
Customer(CustomerId),
Pet(PetId),
Reservation(Id),
External(ExternalRecordId),
}Expand description
Decision choices for criteria in the agent tool workflow; each value routes reviewed source facts to the right queue, draft, or staff gate.
Variants§
Customer(CustomerId)
Selects customer for the agent tool decision model so the app can choose a review, evidence, or draft path without taking live action.
Pet(PetId)
Selects pet for the agent tool decision model so the app can choose a review, evidence, or draft path without taking live action.
Reservation(Id)
Selects reservation for the agent tool decision model so the app can choose a review, evidence, or draft path without taking live action.
External(ExternalRecordId)
Selects external for the agent tool decision model so the app can choose a review, evidence, or draft path without taking live action.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Criteria
impl<'de> Deserialize<'de> for Criteria
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
impl Eq for Criteria
impl StructuralPartialEq for Criteria
Auto Trait Implementations§
impl Freeze for Criteria
impl RefUnwindSafe for Criteria
impl Send for Criteria
impl Sync for Criteria
impl Unpin for Criteria
impl UnsafeUnpin for Criteria
impl UnwindSafe for Criteria
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