pub struct ExecReviewCommandRequest {
pub prompt: Option<String>,
pub base: Option<String>,
pub commit: Option<String>,
pub title: Option<String>,
pub uncommitted: bool,
pub ephemeral: bool,
pub ignore_rules: bool,
pub ignore_user_config: bool,
pub json: bool,
pub output_last_message: Option<PathBuf>,
pub skip_git_repo_check: bool,
pub overrides: CliOverridesPatch,
}Expand description
Request for codex exec review [OPTIONS] [PROMPT].
Fields§
§prompt: Option<String>§base: Option<String>§commit: Option<String>§title: Option<String>§uncommitted: bool§ephemeral: bool§ignore_rules: bool§ignore_user_config: bool§json: bool§output_last_message: Option<PathBuf>§skip_git_repo_check: bool§overrides: CliOverridesPatchPer-call CLI overrides layered on top of the builder.
Implementations§
Source§impl ExecReviewCommandRequest
impl ExecReviewCommandRequest
pub fn new() -> Self
pub fn prompt(self, prompt: impl Into<String>) -> Self
pub fn base(self, branch: impl Into<String>) -> Self
pub fn commit(self, sha: impl Into<String>) -> Self
pub fn title(self, title: impl Into<String>) -> Self
pub fn uncommitted(self, enable: bool) -> Self
pub fn ephemeral(self, enable: bool) -> Self
pub fn ignore_rules(self, enable: bool) -> Self
pub fn ignore_user_config(self, enable: bool) -> Self
pub fn json(self, enable: bool) -> Self
pub fn output_last_message(self, path: impl Into<PathBuf>) -> Self
pub fn skip_git_repo_check(self, enable: bool) -> Self
pub fn with_overrides(self, overrides: CliOverridesPatch) -> Self
Trait Implementations§
Source§impl Clone for ExecReviewCommandRequest
impl Clone for ExecReviewCommandRequest
Source§fn clone(&self) -> ExecReviewCommandRequest
fn clone(&self) -> ExecReviewCommandRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExecReviewCommandRequest
impl Debug for ExecReviewCommandRequest
Source§impl Default for ExecReviewCommandRequest
impl Default for ExecReviewCommandRequest
Source§impl PartialEq for ExecReviewCommandRequest
impl PartialEq for ExecReviewCommandRequest
Source§fn eq(&self, other: &ExecReviewCommandRequest) -> bool
fn eq(&self, other: &ExecReviewCommandRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ExecReviewCommandRequest
impl StructuralPartialEq for ExecReviewCommandRequest
Auto Trait Implementations§
impl Freeze for ExecReviewCommandRequest
impl RefUnwindSafe for ExecReviewCommandRequest
impl Send for ExecReviewCommandRequest
impl Sync for ExecReviewCommandRequest
impl Unpin for ExecReviewCommandRequest
impl UnsafeUnpin for ExecReviewCommandRequest
impl UnwindSafe for ExecReviewCommandRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.