pub enum SkillSource {
Local,
Registry {
registry_url: String,
version: String,
},
}Expand description
Where a skill was installed from.
Variants§
Local
Locally authored (found on disk, not from a registry).
Registry
Installed from a ClawHub registry.
Trait Implementations§
Source§impl Clone for SkillSource
impl Clone for SkillSource
Source§fn clone(&self) -> SkillSource
fn clone(&self) -> SkillSource
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SkillSource
impl Debug for SkillSource
Source§impl Default for SkillSource
impl Default for SkillSource
Source§fn default() -> SkillSource
fn default() -> SkillSource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SkillSource
impl<'de> Deserialize<'de> for SkillSource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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 Freeze 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