pub struct SkillReferenceParam {
pub skill_id: String,
pub version: Option<String>,
}Available on crate feature
skill-types only.Expand description
Reference a skill by ID when providing it to a tool or container.
Fields§
§skill_id: StringThe ID of the skill to reference.
version: Option<String>An optional specific version to use.
Trait Implementations§
Source§impl Clone for SkillReferenceParam
impl Clone for SkillReferenceParam
Source§fn clone(&self) -> SkillReferenceParam
fn clone(&self) -> SkillReferenceParam
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 SkillReferenceParam
impl Debug for SkillReferenceParam
Source§impl<'de> Deserialize<'de> for SkillReferenceParam
impl<'de> Deserialize<'de> for SkillReferenceParam
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 SkillReferenceParam
impl PartialEq for SkillReferenceParam
Source§impl Serialize for SkillReferenceParam
impl Serialize for SkillReferenceParam
impl StructuralPartialEq for SkillReferenceParam
Auto Trait Implementations§
impl Freeze for SkillReferenceParam
impl RefUnwindSafe for SkillReferenceParam
impl Send for SkillReferenceParam
impl Sync for SkillReferenceParam
impl Unpin for SkillReferenceParam
impl UnsafeUnpin for SkillReferenceParam
impl UnwindSafe for SkillReferenceParam
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