pub struct LegacySkill {
pub legacy_name: String,
pub canonical_name: String,
pub canonical_present: bool,
pub path: PathBuf,
}Expand description
Result of scan_legacy_skills_at_target for one entry.
Fields§
§legacy_name: StringLegacy directory name on disk, e.g. devboy-setup.
canonical_name: StringNew name without the devboy- prefix, e.g. setup.
canonical_present: booltrue if a sibling directory with the canonical name already
exists at the same target (meaning the legacy entry is a safe
duplicate to remove).
path: PathBufAbsolute path of the legacy skill directory.
Trait Implementations§
Source§impl Clone for LegacySkill
impl Clone for LegacySkill
Source§fn clone(&self) -> LegacySkill
fn clone(&self) -> LegacySkill
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 LegacySkill
impl Debug for LegacySkill
Source§impl PartialEq for LegacySkill
impl PartialEq for LegacySkill
Source§fn eq(&self, other: &LegacySkill) -> bool
fn eq(&self, other: &LegacySkill) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for LegacySkill
impl StructuralPartialEq for LegacySkill
Auto Trait Implementations§
impl Freeze for LegacySkill
impl RefUnwindSafe for LegacySkill
impl Send for LegacySkill
impl Sync for LegacySkill
impl Unpin for LegacySkill
impl UnsafeUnpin for LegacySkill
impl UnwindSafe for LegacySkill
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.