pub struct HelpCommandRequest {
pub scope: HelpScope,
pub command: Vec<String>,
pub overrides: CliOverridesPatch,
}Expand description
Request for codex <scope> help [COMMAND]....
Fields§
§scope: HelpScope§command: Vec<String>Optional command path components appended after help (variadic upstream).
overrides: CliOverridesPatchPer-call CLI overrides layered on top of the builder.
Implementations§
Source§impl HelpCommandRequest
impl HelpCommandRequest
pub fn new(scope: HelpScope) -> Self
Sourcepub fn command<I, S>(self, tokens: I) -> Self
pub fn command<I, S>(self, tokens: I) -> Self
Appends one or more command tokens to the help invocation.
Sourcepub fn with_overrides(self, overrides: CliOverridesPatch) -> Self
pub fn with_overrides(self, overrides: CliOverridesPatch) -> Self
Replaces the default CLI overrides for this request.
Trait Implementations§
Source§impl Clone for HelpCommandRequest
impl Clone for HelpCommandRequest
Source§fn clone(&self) -> HelpCommandRequest
fn clone(&self) -> HelpCommandRequest
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 Debug for HelpCommandRequest
impl Debug for HelpCommandRequest
Source§impl PartialEq for HelpCommandRequest
impl PartialEq for HelpCommandRequest
impl Eq for HelpCommandRequest
impl StructuralPartialEq for HelpCommandRequest
Auto Trait Implementations§
impl Freeze for HelpCommandRequest
impl RefUnwindSafe for HelpCommandRequest
impl Send for HelpCommandRequest
impl Sync for HelpCommandRequest
impl Unpin for HelpCommandRequest
impl UnsafeUnpin for HelpCommandRequest
impl UnwindSafe for HelpCommandRequest
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.