pub struct SessionRpcSkills<'a> { /* private fields */ }Expand description
session.skills.* RPCs.
Implementations§
Source§impl<'a> SessionRpcSkills<'a>
impl<'a> SessionRpcSkills<'a>
Sourcepub async fn list(&self) -> Result<SkillList, Error>
pub async fn list(&self) -> Result<SkillList, Error>
Wire method: session.skills.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 enable(&self, params: SkillsEnableRequest) -> Result<(), Error>
pub async fn enable(&self, params: SkillsEnableRequest) -> Result<(), Error>
Wire method: session.skills.enable.
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 disable(&self, params: SkillsDisableRequest) -> Result<(), Error>
pub async fn disable(&self, params: SkillsDisableRequest) -> Result<(), Error>
Wire method: session.skills.disable.
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 SessionRpcSkills<'a>
impl<'a> Clone for SessionRpcSkills<'a>
Source§fn clone(&self) -> SessionRpcSkills<'a>
fn clone(&self) -> SessionRpcSkills<'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 SessionRpcSkills<'a>
Auto Trait Implementations§
impl<'a> Freeze for SessionRpcSkills<'a>
impl<'a> !RefUnwindSafe for SessionRpcSkills<'a>
impl<'a> Send for SessionRpcSkills<'a>
impl<'a> Sync for SessionRpcSkills<'a>
impl<'a> Unpin for SessionRpcSkills<'a>
impl<'a> UnsafeUnpin for SessionRpcSkills<'a>
impl<'a> !UnwindSafe for SessionRpcSkills<'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