pub struct ExecResumeCommand { /* private fields */ }Expand description
Resume a previous non-interactive session (codex exec resume).
Use session_id to target a specific
session, or last to pick the most recent.
Implementations§
Source§impl ExecResumeCommand
impl ExecResumeCommand
pub fn new() -> Self
pub fn session_id(self, session_id: impl Into<String>) -> Self
pub fn prompt(self, prompt: impl Into<String>) -> Self
pub fn last(self) -> Self
pub fn all(self) -> Self
pub fn model(self, model: impl Into<String>) -> Self
pub fn image(self, path: impl Into<String>) -> Self
pub fn json(self) -> Self
pub fn output_last_message(self, path: impl Into<String>) -> Self
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 full_auto(self) -> Self
pub fn dangerously_bypass_approvals_and_sandbox(self) -> Self
pub fn skip_git_repo_check(self) -> Self
pub fn ephemeral(self) -> Self
pub fn retry(self, policy: RetryPolicy) -> Self
Trait Implementations§
Source§impl Clone for ExecResumeCommand
impl Clone for ExecResumeCommand
Source§fn clone(&self) -> ExecResumeCommand
fn clone(&self) -> ExecResumeCommand
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 ExecResumeCommand
impl CodexCommand for ExecResumeCommand
Source§impl Debug for ExecResumeCommand
impl Debug for ExecResumeCommand
Auto Trait Implementations§
impl Freeze for ExecResumeCommand
impl RefUnwindSafe for ExecResumeCommand
impl Send for ExecResumeCommand
impl Sync for ExecResumeCommand
impl Unpin for ExecResumeCommand
impl UnsafeUnpin for ExecResumeCommand
impl UnwindSafe for ExecResumeCommand
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