pub struct ConceptDef {
pub slug: &'static str,
pub name: &'static str,
pub category: &'static str,
pub aliases: &'static [&'static str],
}Expand description
Bitcoin concept vocabulary, seeded from Optech topics.
Each concept has a slug (primary key), display name, category, and a list of aliases/keywords that trigger matching. A Bitcoin/Lightning concept definition.
Fields§
§slug: &'static str§name: &'static str§category: &'static str§aliases: &'static [&'static str]Auto Trait Implementations§
impl Freeze for ConceptDef
impl RefUnwindSafe for ConceptDef
impl Send for ConceptDef
impl Sync for ConceptDef
impl Unpin for ConceptDef
impl UnsafeUnpin for ConceptDef
impl UnwindSafe for ConceptDef
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