pub struct SkillRef {
pub name: String,
pub hash: String,
}Expand description
A loaded skill reference: its name plus the hash of the version that was loaded, so a skill edited on disk is detectable rather than silently diverging from what the transcript was built against.
Fields§
§name: String§hash: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for SkillRef
impl<'de> Deserialize<'de> for SkillRef
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 SkillRef
impl StructuralPartialEq for SkillRef
Auto Trait Implementations§
impl Freeze for SkillRef
impl RefUnwindSafe for SkillRef
impl Send for SkillRef
impl Sync for SkillRef
impl Unpin for SkillRef
impl UnsafeUnpin for SkillRef
impl UnwindSafe for SkillRef
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