#[non_exhaustive]pub struct PrunedSubagent {
pub session_id: String,
pub label: Option<String>,
pub status: Option<String>,
}Expand description
One child session pruned below a checkpoint boundary: the restored row’s key, text, and stoppability — never pruned transcript.
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: StringThe child session id — the trace key for session/read on the
child, exactly as for a live child row.
label: Option<String>The served display label (the spawn’s role, agent path as fallback); absent when the spawn records carry neither.
status: Option<String>running, completed, or failed; absent reads as running.
Trait Implementations§
Source§impl Clone for PrunedSubagent
impl Clone for PrunedSubagent
Source§impl Debug for PrunedSubagent
impl Debug for PrunedSubagent
Source§impl<'de> Deserialize<'de> for PrunedSubagent
impl<'de> Deserialize<'de> for PrunedSubagent
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 PrunedSubagent
Source§impl PartialEq for PrunedSubagent
impl PartialEq for PrunedSubagent
Source§impl Serialize for PrunedSubagent
impl Serialize for PrunedSubagent
impl StructuralPartialEq for PrunedSubagent
Auto Trait Implementations§
impl Forget for PrunedSubagent
impl Freeze for PrunedSubagent
impl Move for PrunedSubagent
impl RefUnwindSafe for PrunedSubagent
impl Send for PrunedSubagent
impl Sync for PrunedSubagent
impl Unpin for PrunedSubagent
impl UnsafeUnpin for PrunedSubagent
impl UnwindSafe for PrunedSubagent
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