pub struct Session {
pub loaded: Vec<Loaded>,
pub skills: String,
pub subagents: Vec<String>,
pub mcp: Vec<(String, String)>,
pub invoked: Vec<String>,
pub files: Vec<FileRead>,
pub searches: Vec<Search>,
pub turns: usize,
pub model: Option<String>,
pub breakdown: Breakdown,
pub compactions: usize,
}Fields§
§loaded: Vec<Loaded>§skills: StringThe skills listing exactly as the agent was given it.
subagents: Vec<String>One line per subagent it was told of.
mcp: Vec<(String, String)>MCP servers that gave it instructions, and those instructions.
invoked: Vec<String>Skills it called on, by name, each once.
files: Vec<FileRead>§searches: Vec<Search>§turns: usize§model: Option<String>§breakdown: Breakdown§compactions: usizeTimes the context was compacted.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Session
impl Freeze for Session
impl Move for Session
impl RefUnwindSafe for Session
impl Send for Session
impl Sync for Session
impl Unpin for Session
impl UnsafeUnpin for Session
impl UnwindSafe for Session
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