pub struct SkillLine {
pub name: String,
pub section: String,
pub shelf: SkillShelf,
pub disclosure: String,
pub hash: B3Hash,
pub admitted: bool,
pub pinned_by: Vec<RunId>,
}Expand description
One shelved skill.
Fields§
§name: String§section: StringThe section the shelf files it under. Empty for a skill on an external shelf: that tree is another harness’s, it files skills one directory per skill with no section above them, and a section invented here would be this city’s guess about a layout it does not own.
shelf: SkillShelfWhich shelf, and where the document is on it.
disclosure: StringThe first non-empty line of the document, which is what its author wrote to describe it.
hash: B3HashWhat the whole document hashed to when this scan read it.
admitted: boolWhether this building’s reading room admits it. A skill on the shelves that the room does not admit costs a run nothing and is still worth seeing: it is the list a person edits.
pinned_by: Vec<RunId>The runs that were frozen with this exact hash pinned, newest last. Empty means nothing has used it, which is a different fact from nothing having recorded it - every run records its pins, so an empty list is an answer.