pub struct McpGetRequest {
pub name: String,
pub json: bool,
pub overrides: CliOverridesPatch,
}Expand description
Request for codex mcp get <NAME>.
Fields§
§name: String§json: bool§overrides: CliOverridesPatchImplementations§
Source§impl McpGetRequest
impl McpGetRequest
pub fn new(name: impl Into<String>) -> Self
pub fn json(self, enable: bool) -> Self
pub fn with_overrides(self, overrides: CliOverridesPatch) -> Self
Trait Implementations§
Source§impl Clone for McpGetRequest
impl Clone for McpGetRequest
Source§fn clone(&self) -> McpGetRequest
fn clone(&self) -> McpGetRequest
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 McpGetRequest
impl Debug for McpGetRequest
Source§impl PartialEq for McpGetRequest
impl PartialEq for McpGetRequest
impl Eq for McpGetRequest
impl StructuralPartialEq for McpGetRequest
Auto Trait Implementations§
impl Freeze for McpGetRequest
impl RefUnwindSafe for McpGetRequest
impl Send for McpGetRequest
impl Sync for McpGetRequest
impl Unpin for McpGetRequest
impl UnsafeUnpin for McpGetRequest
impl UnwindSafe for McpGetRequest
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.