pub struct ResumeCommand { /* private fields */ }Expand description
Resume a previous interactive Codex session.
Implementations§
Source§impl ResumeCommand
impl ResumeCommand
pub fn new() -> Self
Sourcepub fn session_id(self, id: impl Into<String>) -> Self
pub fn session_id(self, id: impl Into<String>) -> Self
Session ID (UUID) or thread name to resume.
Sourcepub fn prompt(self, prompt: impl Into<String>) -> Self
pub fn prompt(self, prompt: impl Into<String>) -> Self
Optional prompt to start the resumed session with.
pub fn config(self, key_value: impl Into<String>) -> Self
pub fn enable(self, feature: impl Into<String>) -> Self
pub fn disable(self, feature: impl Into<String>) -> Self
pub fn image(self, path: impl Into<String>) -> Self
pub fn model(self, model: impl Into<String>) -> Self
pub fn oss(self) -> Self
pub fn local_provider(self, provider: impl Into<String>) -> Self
pub fn profile(self, profile: impl Into<String>) -> Self
pub fn sandbox(self, sandbox: SandboxMode) -> Self
pub fn approval_policy(self, policy: ApprovalPolicy) -> Self
pub fn full_auto(self) -> Self
pub fn dangerously_bypass_approvals_and_sandbox(self) -> Self
pub fn cd(self, dir: impl Into<String>) -> Self
pub fn add_dir(self, dir: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for ResumeCommand
impl Clone for ResumeCommand
Source§fn clone(&self) -> ResumeCommand
fn clone(&self) -> ResumeCommand
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 moreSource§impl CodexCommand for ResumeCommand
impl CodexCommand for ResumeCommand
Source§impl Debug for ResumeCommand
impl Debug for ResumeCommand
Auto Trait Implementations§
impl Freeze for ResumeCommand
impl RefUnwindSafe for ResumeCommand
impl Send for ResumeCommand
impl Sync for ResumeCommand
impl Unpin for ResumeCommand
impl UnsafeUnpin for ResumeCommand
impl UnwindSafe for ResumeCommand
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