pub struct ExistingSkill {
pub name: String,
pub description: String,
}Expand description
A skill that already exists, reduced to what duplicate detection needs.
Fields§
§name: String§description: StringImplementations§
Source§impl ExistingSkill
impl ExistingSkill
pub fn new(name: impl Into<String>, description: impl Into<String>) -> Self
pub fn from_manifest(m: &SkillManifest) -> Self
Trait Implementations§
Source§impl Clone for ExistingSkill
impl Clone for ExistingSkill
Source§impl Debug for ExistingSkill
impl Debug for ExistingSkill
impl Eq for ExistingSkill
Source§impl PartialEq for ExistingSkill
impl PartialEq for ExistingSkill
impl StructuralPartialEq for ExistingSkill
Auto Trait Implementations§
impl Forget for ExistingSkill
impl Freeze for ExistingSkill
impl RefUnwindSafe for ExistingSkill
impl Send for ExistingSkill
impl Sync for ExistingSkill
impl Unpin for ExistingSkill
impl UnsafeUnpin for ExistingSkill
impl UnwindSafe for ExistingSkill
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.