pub struct SelectedItem {
pub package: Option<String>,
pub kind: ItemKind,
pub slug: String,
pub path: String,
pub required_by: Vec<Requester>,
}Fields§
§package: Option<String>None for the root’s own item.
kind: ItemKind§slug: String§path: StringLocation in the prepared package: an Agent’s file, a skill’s directory (. for a flat
skill), a document’s or hook’s directory.
required_by: Vec<Requester>Trait Implementations§
Source§impl Clone for SelectedItem
impl Clone for SelectedItem
Source§impl Debug for SelectedItem
impl Debug for SelectedItem
impl Eq for SelectedItem
Source§impl PartialEq for SelectedItem
impl PartialEq for SelectedItem
Source§impl Serialize for SelectedItem
impl Serialize for SelectedItem
impl StructuralPartialEq for SelectedItem
Auto Trait Implementations§
impl Freeze for SelectedItem
impl RefUnwindSafe for SelectedItem
impl Send for SelectedItem
impl Sync for SelectedItem
impl Unpin for SelectedItem
impl UnsafeUnpin for SelectedItem
impl UnwindSafe for SelectedItem
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.