pub struct McpListRequest {
pub json: bool,
pub overrides: CliOverridesPatch,
}Expand description
Request for codex mcp list.
Fields§
§json: bool§overrides: CliOverridesPatchImplementations§
Source§impl McpListRequest
impl McpListRequest
pub fn new() -> Self
pub fn json(self, enable: bool) -> Self
pub fn with_overrides(self, overrides: CliOverridesPatch) -> Self
Trait Implementations§
Source§impl Clone for McpListRequest
impl Clone for McpListRequest
Source§fn clone(&self) -> McpListRequest
fn clone(&self) -> McpListRequest
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 McpListRequest
impl Debug for McpListRequest
Source§impl Default for McpListRequest
impl Default for McpListRequest
Source§impl PartialEq for McpListRequest
impl PartialEq for McpListRequest
Source§fn eq(&self, other: &McpListRequest) -> bool
fn eq(&self, other: &McpListRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for McpListRequest
impl StructuralPartialEq for McpListRequest
Auto Trait Implementations§
impl Freeze for McpListRequest
impl RefUnwindSafe for McpListRequest
impl Send for McpListRequest
impl Sync for McpListRequest
impl Unpin for McpListRequest
impl UnsafeUnpin for McpListRequest
impl UnwindSafe for McpListRequest
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.