pub enum ReviewPolicy {
DraftOnly,
ManagerApprovalRequired,
}Expand description
Decision choices for review policy in the agent tool workflow; each value routes reviewed source facts to the right queue, draft, or staff gate.
Variants§
DraftOnly
Selects draft only for the agent tool decision model so the app can choose a review, evidence, or draft path without taking live action.
ManagerApprovalRequired
Selects manager approval required 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 Clone for ReviewPolicy
impl Clone for ReviewPolicy
Source§fn clone(&self) -> ReviewPolicy
fn clone(&self) -> ReviewPolicy
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 ReviewPolicy
impl Debug for ReviewPolicy
Source§impl<'de> Deserialize<'de> for ReviewPolicy
impl<'de> Deserialize<'de> for ReviewPolicy
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 PartialEq for ReviewPolicy
impl PartialEq for ReviewPolicy
Source§impl Serialize for ReviewPolicy
impl Serialize for ReviewPolicy
impl Copy for ReviewPolicy
impl Eq for ReviewPolicy
impl StructuralPartialEq for ReviewPolicy
Auto Trait Implementations§
impl Freeze for ReviewPolicy
impl RefUnwindSafe for ReviewPolicy
impl Send for ReviewPolicy
impl Sync for ReviewPolicy
impl Unpin for ReviewPolicy
impl UnsafeUnpin for ReviewPolicy
impl UnwindSafe for ReviewPolicy
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