pub struct AiSession {
pub id: String,
pub name: String,
pub agent: String,
pub running: bool,
pub workspace: Option<String>,
pub created_at: i64,
}Expand description
One agent sandbox. It is a machine, so logs/stop work on id.
Fields§
§id: String§name: String§agent: String§running: bool§workspace: Option<String>The directory shared into it, on the engine’s host.
created_at: i64Unix epoch seconds.
Implementations§
Trait Implementations§
impl StructuralPartialEq for AiSession
Auto Trait Implementations§
impl Freeze for AiSession
impl RefUnwindSafe for AiSession
impl Send for AiSession
impl Sync for AiSession
impl Unpin for AiSession
impl UnsafeUnpin for AiSession
impl UnwindSafe for AiSession
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