pub enum ProjectDisable {
ListMember(ContainerPath),
EnabledFalse {
partial: bool,
},
}Expand description
How a project file hides a same-named user-scope server (SPEC 6.3).
Variants§
ListMember(ContainerPath)
The server name is added to a list in the client’s project-local
file at this container path (Claude Code
projects["<P>"].disabledMcpServers), or in its project file when
it has no project-local file (Gemini mcp.excluded).
EnabledFalse
A project entry with enabled: false under the same name. With
partial, the entry holds nothing else: the client merges it over
the user entry (Pi, Codex). Otherwise it is the whole user entry with
enabled: false, because the project entry replaces the user one
(omp).
Trait Implementations§
Source§impl Clone for ProjectDisable
impl Clone for ProjectDisable
impl Copy for ProjectDisable
Source§impl Debug for ProjectDisable
impl Debug for ProjectDisable
impl Eq for ProjectDisable
Source§impl PartialEq for ProjectDisable
impl PartialEq for ProjectDisable
impl StructuralPartialEq for ProjectDisable
Auto Trait Implementations§
impl Forget for ProjectDisable
impl Freeze for ProjectDisable
impl Move for ProjectDisable
impl RefUnwindSafe for ProjectDisable
impl Send for ProjectDisable
impl Sync for ProjectDisable
impl Unpin for ProjectDisable
impl UnsafeUnpin for ProjectDisablewhere
&'static [&'static str]: UnsafeUnpin,
impl UnwindSafe for ProjectDisablewhere
&'static [&'static str]: UnwindSafe,
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.