#[non_exhaustive]pub struct ApprovalSubagentOrigin {
pub subagent_id: String,
pub child_session_id: String,
pub child_run_id: String,
}Expand description
Child (native subagent) provenance for an approval projected onto the PARENT
session’s approval plane: identifies the originating child run/agent so a
client can attribute the prompt. Omitted (skip_serializing_if) on the
parent’s own approvals, so pre-existing parent frames stay byte-identical.
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.subagent_id: StringThe originating child’s subagent id, from the parent session’s durable subagent control records.
child_session_id: StringThe child session stream id whose records carry this approval.
child_run_id: StringThe child run that parked on this approval.
Trait Implementations§
Source§impl Clone for ApprovalSubagentOrigin
impl Clone for ApprovalSubagentOrigin
Source§impl Debug for ApprovalSubagentOrigin
impl Debug for ApprovalSubagentOrigin
Source§impl<'de> Deserialize<'de> for ApprovalSubagentOrigin
impl<'de> Deserialize<'de> for ApprovalSubagentOrigin
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 ApprovalSubagentOrigin
Source§impl PartialEq for ApprovalSubagentOrigin
impl PartialEq for ApprovalSubagentOrigin
Source§impl Serialize for ApprovalSubagentOrigin
impl Serialize for ApprovalSubagentOrigin
impl StructuralPartialEq for ApprovalSubagentOrigin
Auto Trait Implementations§
impl Freeze for ApprovalSubagentOrigin
impl RefUnwindSafe for ApprovalSubagentOrigin
impl Send for ApprovalSubagentOrigin
impl Sync for ApprovalSubagentOrigin
impl Unpin for ApprovalSubagentOrigin
impl UnsafeUnpin for ApprovalSubagentOrigin
impl UnwindSafe for ApprovalSubagentOrigin
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