pub struct ChildSessionInfo {
pub session_id: String,
pub provider: String,
pub spawned_by: Option<SpawnContext>,
pub snippet: Option<String>,
}Expand description
Information about a child session (subagent) spawned from a parent session.
Fields§
§session_id: String§provider: String§spawned_by: Option<SpawnContext>§snippet: Option<String>Trait Implementations§
Source§impl Clone for ChildSessionInfo
impl Clone for ChildSessionInfo
Source§fn clone(&self) -> ChildSessionInfo
fn clone(&self) -> ChildSessionInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ChildSessionInfo
impl RefUnwindSafe for ChildSessionInfo
impl Send for ChildSessionInfo
impl Sync for ChildSessionInfo
impl Unpin for ChildSessionInfo
impl UnwindSafe for ChildSessionInfo
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