pub struct SkillMutation {
pub harness: String,
pub name: Option<String>,
pub source: Option<String>,
pub scope: Option<SkillScope>,
pub cwd: Option<PathBuf>,
pub homes: SkillHomes,
}Expand description
One mutating request, in the uniform Domain 11 vocabulary.
Fields§
§harness: StringHarness whose root the package belongs in.
name: Option<String>Skill name. Required by remove; on install it overrides the name
the package declares (hermes --name, openclaw --as, the directory
name for the core four).
source: Option<String>What to install: a local skill directory, or — where the harness’s own verb accepts one — its registry identifier / URL.
scope: Option<SkillScope>Which root class to act in. user (the default) or project.
cwd: Option<PathBuf>Working tree whose project roots are addressed. Defaults to the
process working directory, exactly as skills.list does.
homes: SkillHomesConfig homes, so an isolated home is addressed the same way the read side addresses it.
Trait Implementations§
Source§impl Clone for SkillMutation
impl Clone for SkillMutation
Source§fn clone(&self) -> SkillMutation
fn clone(&self) -> SkillMutation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SkillMutation
impl Debug for SkillMutation
Source§impl Default for SkillMutation
impl Default for SkillMutation
Source§fn default() -> SkillMutation
fn default() -> SkillMutation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SkillMutationwhere
SkillMutation: Default,
impl<'de> Deserialize<'de> for SkillMutationwhere
SkillMutation: Default,
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
impl Eq for SkillMutation
Source§impl PartialEq for SkillMutation
impl PartialEq for SkillMutation
Source§impl Serialize for SkillMutation
impl Serialize for SkillMutation
impl StructuralPartialEq for SkillMutation
Auto Trait Implementations§
impl Freeze for SkillMutation
impl RefUnwindSafe for SkillMutation
impl Send for SkillMutation
impl Sync for SkillMutation
impl Unpin for SkillMutation
impl UnsafeUnpin for SkillMutation
impl UnwindSafe for SkillMutation
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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§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.