#[non_exhaustive]pub enum SourcesBehavior {
FirstWins,
Merge,
Other(String),
}Expand description
parentSettingsBehavior and managedSourcesBehavior.
Docs: parentSettingsBehavior.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
FirstWins
Claude Code drops the host-supplied settings when an admin-deployed managed tier is present.
Merge
Claude Code applies the host-supplied settings under the admin tier through a restrictive-only filter.
Other(String)
A value this crate doesn’t know, as written.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for SourcesBehavior
impl AsRef<str> for SourcesBehavior
Source§impl Clone for SourcesBehavior
impl Clone for SourcesBehavior
Source§impl Debug for SourcesBehavior
impl Debug for SourcesBehavior
Source§impl<'de> Deserialize<'de> for SourcesBehavior
impl<'de> Deserialize<'de> for SourcesBehavior
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SourcesBehavior
impl Display for SourcesBehavior
impl Eq for SourcesBehavior
Source§impl From<&str> for SourcesBehavior
impl From<&str> for SourcesBehavior
Source§impl From<String> for SourcesBehavior
impl From<String> for SourcesBehavior
Source§impl Hash for SourcesBehavior
impl Hash for SourcesBehavior
Source§impl Ord for SourcesBehavior
impl Ord for SourcesBehavior
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SourcesBehavior
impl PartialEq for SourcesBehavior
Source§impl PartialOrd for SourcesBehavior
impl PartialOrd for SourcesBehavior
Source§impl Serialize for SourcesBehavior
impl Serialize for SourcesBehavior
impl StructuralPartialEq for SourcesBehavior
Auto Trait Implementations§
impl Forget for SourcesBehavior
impl Freeze for SourcesBehavior
impl Move for SourcesBehavior
impl RefUnwindSafe for SourcesBehavior
impl Send for SourcesBehavior
impl Sync for SourcesBehavior
impl Unpin for SourcesBehavior
impl UnsafeUnpin for SourcesBehavior
impl UnwindSafe for SourcesBehavior
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