pub struct CatalogEntry {
pub name: String,
pub disclosure: String,
pub expansion: String,
pub hash: Option<B3Hash>,
pub package: Option<String>,
}Expand description
One disclosed row: “what it is + when to use it” resident-side, the “how to use it” expansion fetched on demand.
Fields§
§name: String§disclosure: String§expansion: String§hash: Option<B3Hash>What the document behind this entry hashed to when the shelf was
read. None for an entry the catalog holds as text of its own,
which has no document to change behind anybody’s back.
package: Option<String>The package directory, when the skill is filed as one: the files
beside its document open by <name>/<path>. Said by the shelf’s
scan, never guessed from how expansion is spelled.
Trait Implementations§
Source§impl Clone for CatalogEntry
impl Clone for CatalogEntry
Source§impl Debug for CatalogEntry
impl Debug for CatalogEntry
impl Eq for CatalogEntry
Source§impl PartialEq for CatalogEntry
impl PartialEq for CatalogEntry
impl StructuralPartialEq for CatalogEntry
Auto Trait Implementations§
impl Freeze for CatalogEntry
impl RefUnwindSafe for CatalogEntry
impl Send for CatalogEntry
impl Sync for CatalogEntry
impl Unpin for CatalogEntry
impl UnsafeUnpin for CatalogEntry
impl UnwindSafe for CatalogEntry
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