pub enum SkillVersion {
Latest,
Specific(String),
}Expand description
Skill version specification
Variants§
Latest
Always use latest version
Specific(String)
Specific version by ID (epoch timestamp for custom skills, date for Anthropic)
Trait Implementations§
Source§impl Clone for SkillVersion
impl Clone for SkillVersion
Source§impl Debug for SkillVersion
impl Debug for SkillVersion
Source§impl Default for SkillVersion
impl Default for SkillVersion
Source§impl<'de> Deserialize<'de> for SkillVersion
impl<'de> Deserialize<'de> for SkillVersion
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 SkillVersion
Source§impl PartialEq for SkillVersion
impl PartialEq for SkillVersion
Source§impl Serialize for SkillVersion
impl Serialize for SkillVersion
impl StructuralPartialEq for SkillVersion
Auto Trait Implementations§
impl Freeze for SkillVersion
impl RefUnwindSafe for SkillVersion
impl Send for SkillVersion
impl Sync for SkillVersion
impl Unpin for SkillVersion
impl UnsafeUnpin for SkillVersion
impl UnwindSafe for SkillVersion
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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.