#[non_exhaustive]pub enum SkillSource {
Bundled,
User,
Project,
Plugin,
Unknown(String),
}Expand description
A skill row’s source scope: the projection of the skills crate’s
SkillsSourceScope. Open: a future scope value is additive.
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.
Bundled
Shipped with the binary.
User
The user’s personal skill directories.
Project
The session workspace’s project skills.
Plugin
Contributed by an installed plugin (pluginId names it).
Unknown(String)
A value from a newer host, kept verbatim so an older client decodes the rest of the message. Never construct it with a known word.
Implementations§
Trait Implementations§
Source§impl Clone for SkillSource
impl Clone for SkillSource
Source§impl Debug for SkillSource
impl Debug for SkillSource
Source§impl<'de> Deserialize<'de> for SkillSource
impl<'de> Deserialize<'de> for SkillSource
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SkillSource
Source§impl PartialEq for SkillSource
impl PartialEq for SkillSource
Source§impl Serialize for SkillSource
impl Serialize for SkillSource
impl StructuralPartialEq for SkillSource
Auto Trait Implementations§
impl Forget for SkillSource
impl Freeze for SkillSource
impl Move for SkillSource
impl RefUnwindSafe for SkillSource
impl Send for SkillSource
impl Sync for SkillSource
impl Unpin for SkillSource
impl UnsafeUnpin for SkillSource
impl UnwindSafe for SkillSource
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