#[non_exhaustive]pub struct ApprovalResolvedParams {Show 14 fields
pub session_id: String,
pub view_cursor: String,
pub source_range: SourceRange,
pub approval_id: String,
pub item_id: String,
pub turn_id: String,
pub decision: ApprovalDecision,
pub policy_result: ApprovalPolicyResult,
pub amendment: Option<ApprovalAmendment>,
pub resolved_by: ApprovalResolvedBy,
pub decided_by_command_id: Option<String>,
pub decided_at: Option<String>,
pub stage_evidence: Vec<ApprovalStageEvidence>,
pub subagent_origin: Option<ApprovalSubagentOrigin>,
}Expand description
approval/resolved params: the first durable terminal decision.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.session_id: String§view_cursor: String§source_range: SourceRange§approval_id: String§item_id: String§turn_id: String§decision: ApprovalDecision§policy_result: ApprovalPolicyResult§amendment: Option<ApprovalAmendment>§resolved_by: ApprovalResolvedBy§decided_by_command_id: Option<String>§decided_at: Option<String>The decision time as RFC3339, projected from the durable
DecisionApplied record’s own stamp: optional on the wire so decoders
tolerate its absence, always populated by current hosts.
stage_evidence: Vec<ApprovalStageEvidence>§subagent_origin: Option<ApprovalSubagentOrigin>Present only for a child (native subagent) approval projected onto the parent session’s plane; parent-own approvals omit it.
Trait Implementations§
Source§impl Clone for ApprovalResolvedParams
impl Clone for ApprovalResolvedParams
Source§impl Debug for ApprovalResolvedParams
impl Debug for ApprovalResolvedParams
Source§impl<'de> Deserialize<'de> for ApprovalResolvedParams
impl<'de> Deserialize<'de> for ApprovalResolvedParams
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 ApprovalResolvedParams
Source§impl PartialEq for ApprovalResolvedParams
impl PartialEq for ApprovalResolvedParams
Source§impl Serialize for ApprovalResolvedParams
impl Serialize for ApprovalResolvedParams
impl StructuralPartialEq for ApprovalResolvedParams
Auto Trait Implementations§
impl Freeze for ApprovalResolvedParams
impl RefUnwindSafe for ApprovalResolvedParams
impl Send for ApprovalResolvedParams
impl Sync for ApprovalResolvedParams
impl Unpin for ApprovalResolvedParams
impl UnsafeUnpin for ApprovalResolvedParams
impl UnwindSafe for ApprovalResolvedParams
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