pub struct AiStartBuilder { /* private fields */ }Expand description
An aiStart mutation being assembled — see Client::ai_start.
Implementations§
Source§impl AiStartBuilder
impl AiStartBuilder
Sourcepub fn workspace(self, path: impl Into<String>) -> Self
pub fn workspace(self, path: impl Into<String>) -> Self
Share a directory with the agent, at the same path.
The path is on the engine’s host: a remote daemon cannot see your own filesystem.
Sourcepub fn new_session(self) -> Self
pub fn new_session(self) -> Self
Boot a second sandbox rather than reusing the running one. The agent’s saved login is shared between them.
Auto Trait Implementations§
impl Freeze for AiStartBuilder
impl RefUnwindSafe for AiStartBuilder
impl Send for AiStartBuilder
impl Sync for AiStartBuilder
impl Unpin for AiStartBuilder
impl UnsafeUnpin for AiStartBuilder
impl UnwindSafe for AiStartBuilder
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