pub struct ReviewCommandRequest {
pub prompt: Option<String>,
pub base: Option<String>,
pub commit: Option<String>,
pub title: Option<String>,
pub uncommitted: bool,
pub overrides: CliOverridesPatch,
}Expand description
Request for codex review [OPTIONS] [PROMPT].
Fields§
§prompt: Option<String>§base: Option<String>§commit: Option<String>§title: Option<String>§uncommitted: bool§overrides: CliOverridesPatchPer-call CLI overrides layered on top of the builder.
Implementations§
Source§impl ReviewCommandRequest
impl ReviewCommandRequest
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 with_overrides(self, overrides: CliOverridesPatch) -> Self
Trait Implementations§
Source§impl Clone for ReviewCommandRequest
impl Clone for ReviewCommandRequest
Source§fn clone(&self) -> ReviewCommandRequest
fn clone(&self) -> ReviewCommandRequest
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 ReviewCommandRequest
impl Debug for ReviewCommandRequest
Source§impl Default for ReviewCommandRequest
impl Default for ReviewCommandRequest
Source§impl PartialEq for ReviewCommandRequest
impl PartialEq for ReviewCommandRequest
Source§fn eq(&self, other: &ReviewCommandRequest) -> bool
fn eq(&self, other: &ReviewCommandRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ReviewCommandRequest
impl StructuralPartialEq for ReviewCommandRequest
Auto Trait Implementations§
impl Freeze for ReviewCommandRequest
impl RefUnwindSafe for ReviewCommandRequest
impl Send for ReviewCommandRequest
impl Sync for ReviewCommandRequest
impl Unpin for ReviewCommandRequest
impl UnsafeUnpin for ReviewCommandRequest
impl UnwindSafe for ReviewCommandRequest
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.