pub enum Result {
Accepted {
refund_id: RefundId,
},
Rejected {
reason: RejectionReason,
},
}Expand description
Decision choices for result in the agent tool workflow; each value routes reviewed source facts to the right queue, draft, or staff gate.
Variants§
Accepted
Refund id copied from reviewed source input for audit, reviewer explanation, or agent context; callers must not invent or mutate it.
Rejected
Reason copied from reviewed source input for audit, reviewer explanation, or agent context; callers must not invent or mutate it.
Fields
§
reason: RejectionReasonReason value stored on this variant.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Result
impl<'de> Deserialize<'de> for Result
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 Result
impl StructuralPartialEq for Result
Auto Trait Implementations§
impl Freeze for Result
impl RefUnwindSafe for Result
impl Send for Result
impl Sync for Result
impl Unpin for Result
impl UnsafeUnpin for Result
impl UnwindSafe for Result
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