pub struct ClientRpcSkillsConfig<'a> { /* private fields */ }Expand description
skills.config.* RPCs.
Implementations§
Source§impl<'a> ClientRpcSkillsConfig<'a>
impl<'a> ClientRpcSkillsConfig<'a>
Sourcepub async fn set_disabled_skills(
&self,
params: SkillsConfigSetDisabledSkillsRequest,
) -> Result<(), Error>
pub async fn set_disabled_skills( &self, params: SkillsConfigSetDisabledSkillsRequest, ) -> Result<(), Error>
Replaces the global list of disabled skills.
Wire method: skills.config.setDisabledSkills.
§Parameters
params- Skill names to mark as disabled in global configuration, replacing any previous list.
Experimental. This API is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases. Pin both the SDK and CLI versions if your code depends on it.
Sourcepub async fn set_skill_disabled(
&self,
params: SkillsConfigSetSkillDisabledRequest,
) -> Result<(), Error>
pub async fn set_skill_disabled( &self, params: SkillsConfigSetSkillDisabledRequest, ) -> Result<(), Error>
Atomically adds or removes one skill from the disabled list.
Wire method: skills.config.setSkillDisabled.
§Parameters
params- Adds or removes a single skill from the global disabled list, leaving every other entry untouched.
Experimental. This API is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases. Pin both the SDK and CLI versions if your code depends on it.
Trait Implementations§
Source§impl<'a> Clone for ClientRpcSkillsConfig<'a>
impl<'a> Clone for ClientRpcSkillsConfig<'a>
Source§fn clone(&self) -> ClientRpcSkillsConfig<'a>
fn clone(&self) -> ClientRpcSkillsConfig<'a>
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 moreimpl<'a> Copy for ClientRpcSkillsConfig<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ClientRpcSkillsConfig<'a>
impl<'a> !UnwindSafe for ClientRpcSkillsConfig<'a>
impl<'a> Freeze for ClientRpcSkillsConfig<'a>
impl<'a> Send for ClientRpcSkillsConfig<'a>
impl<'a> Sync for ClientRpcSkillsConfig<'a>
impl<'a> Unpin for ClientRpcSkillsConfig<'a>
impl<'a> UnsafeUnpin for ClientRpcSkillsConfig<'a>
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