pub struct Winner {
pub layer: Layer,
pub file: String,
pub source: String,
pub read_only: Option<ReadOnlyKind>,
}Expand description
The entry a client uses for a name.
Fields§
§layer: Layer§file: StringThe file with a placeholder root (~/.claude.json, <P>/.mcp.json).
source: Stringstore:<id> (a system entry), store:<id>+project (a project
override with from, or a suppression), project:<name> (defined
by the project only) or foreign.
read_only: Option<ReadOnlyKind>This account cannot write the file (SPEC 8.2 read_only_target).
Trait Implementations§
impl Eq for Winner
impl StructuralPartialEq for Winner
Auto Trait Implementations§
impl Forget for Winner
impl Freeze for Winner
impl Move for Winner
impl RefUnwindSafe for Winner
impl Send for Winnerwhere
RawVecInner: Send,
impl Sync for Winnerwhere
RawVecInner: Sync,
impl Unpin for Winner
impl UnsafeUnpin for Winner
impl UnwindSafe for Winnerwhere
RawVecInner: 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.