pub struct Result<T> {
pub status: Status,
pub summary: Summary,
pub structured_output: Option<T>,
pub recommended_actions: Vec<RecommendedAction>,
pub risk_flags: Vec<RiskFlag>,
pub verification: Vec<VerificationNote>,
pub human_review_reason: Option<ReviewReason>,
}Expand description
Workflow result carrying status, summary, recommended action, and verification notes for staff review.
Fields§
§status: StatusWorkflow status value preserved for staff review and audit evidence.
summary: SummaryWorkflow summary value preserved for staff review and audit evidence.
structured_output: Option<T>Workflow structured output value preserved for staff review and audit evidence.
recommended_actions: Vec<RecommendedAction>Workflow recommended actions value preserved for staff review and audit evidence.
risk_flags: Vec<RiskFlag>Workflow risk flags value preserved for staff review and audit evidence.
verification: Vec<VerificationNote>Workflow verification value preserved for staff review and audit evidence.
human_review_reason: Option<ReviewReason>Workflow human review reason value preserved for staff review and audit evidence.
Trait Implementations§
Source§impl<'de, T> Deserialize<'de> for Result<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for Result<T>where
T: Deserialize<'de>,
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<T: Eq> Eq for Result<T>
impl<T> StructuralPartialEq for Result<T>
Auto Trait Implementations§
impl<T> Freeze for Result<T>where
T: Freeze,
impl<T> RefUnwindSafe for Result<T>where
T: RefUnwindSafe,
impl<T> Send for Result<T>where
T: Send,
impl<T> Sync for Result<T>where
T: Sync,
impl<T> Unpin for Result<T>where
T: Unpin,
impl<T> UnsafeUnpin for Result<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Result<T>where
T: UnwindSafe,
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