pub struct InlineSkill {
pub name: String,
pub description: String,
pub when_to_use: Option<String>,
pub body: String,
}Expand description
A skill defined inline — the catalogue entry plus its body, no MCP server involved.
Fields§
§name: String§description: String§when_to_use: Option<String>§body: StringTrait Implementations§
Source§impl Clone for InlineSkill
impl Clone for InlineSkill
Source§fn clone(&self) -> InlineSkill
fn clone(&self) -> InlineSkill
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 InlineSkill
impl Debug for InlineSkill
Source§impl<'de> Deserialize<'de> for InlineSkill
impl<'de> Deserialize<'de> for InlineSkill
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 InlineSkill
impl PartialEq for InlineSkill
Source§impl Serialize for InlineSkill
impl Serialize for InlineSkill
impl StructuralPartialEq for InlineSkill
Auto Trait Implementations§
impl Freeze for InlineSkill
impl RefUnwindSafe for InlineSkill
impl Send for InlineSkill
impl Sync for InlineSkill
impl Unpin for InlineSkill
impl UnsafeUnpin for InlineSkill
impl UnwindSafe for InlineSkill
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