#[non_exhaustive]pub enum SkillOverride {
On,
NameOnly,
UserInvocableOnly,
Off,
Other(String),
}Expand description
A value of skillOverrides.
Docs: skillOverrides.
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.
On
Claude sees the skill and you can type /name.
NameOnly
Claude sees the skill by name without its description.
UserInvocableOnly
Claude doesn’t see the skill, but you can still type /name.
Off
Claude doesn’t see the skill and /name is hidden from autocomplete.
Other(String)
A value this crate doesn’t know, as written.
Implementations§
Trait Implementations§
Source§impl AsRef<str> for SkillOverride
impl AsRef<str> for SkillOverride
Source§impl Clone for SkillOverride
impl Clone for SkillOverride
Source§impl Debug for SkillOverride
impl Debug for SkillOverride
Source§impl<'de> Deserialize<'de> for SkillOverride
impl<'de> Deserialize<'de> for SkillOverride
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 SkillOverride
impl Display for SkillOverride
impl Eq for SkillOverride
Source§impl From<&str> for SkillOverride
impl From<&str> for SkillOverride
Source§impl From<String> for SkillOverride
impl From<String> for SkillOverride
Source§impl Hash for SkillOverride
impl Hash for SkillOverride
Source§impl Ord for SkillOverride
impl Ord for SkillOverride
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 SkillOverride
impl PartialEq for SkillOverride
Source§impl PartialOrd for SkillOverride
impl PartialOrd for SkillOverride
Source§impl Serialize for SkillOverride
impl Serialize for SkillOverride
impl StructuralPartialEq for SkillOverride
Auto Trait Implementations§
impl Forget for SkillOverride
impl Freeze for SkillOverride
impl Move for SkillOverride
impl RefUnwindSafe for SkillOverride
impl Send for SkillOverride
impl Sync for SkillOverride
impl Unpin for SkillOverride
impl UnsafeUnpin for SkillOverride
impl UnwindSafe for SkillOverride
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