pub struct ReviewCommand { /* private fields */ }Implementations§
Source§impl ReviewCommand
impl ReviewCommand
pub fn new() -> Self
pub fn prompt(self, prompt: 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 uncommitted(self) -> Self
pub fn base(self, branch: impl Into<String>) -> Self
pub fn commit(self, sha: impl Into<String>) -> Self
pub fn model(self, model: impl Into<String>) -> Self
pub fn title(self, title: 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 json(self) -> Self
pub fn output_last_message(self, path: impl Into<String>) -> Self
pub fn retry(self, policy: RetryPolicy) -> Self
pub async fn execute_json_lines( &self, codex: &Codex, ) -> Result<Vec<JsonLineEvent>>
Trait Implementations§
Source§impl Clone for ReviewCommand
impl Clone for ReviewCommand
Source§fn clone(&self) -> ReviewCommand
fn clone(&self) -> ReviewCommand
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 ReviewCommand
impl CodexCommand for ReviewCommand
Source§impl Debug for ReviewCommand
impl Debug for ReviewCommand
Auto Trait Implementations§
impl Freeze for ReviewCommand
impl RefUnwindSafe for ReviewCommand
impl Send for ReviewCommand
impl Sync for ReviewCommand
impl Unpin for ReviewCommand
impl UnsafeUnpin for ReviewCommand
impl UnwindSafe for ReviewCommand
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