pub struct Spell {
pub id: String,
pub title: String,
pub question: String,
pub example: String,
pub trail: Vec<String>,
}Expand description
One spell: the join key id, a short title, the “how do I…?” question, a
runnable example, and the learn topics that explain it.
Fields§
§id: String§title: String§question: String§example: String§trail: Vec<String>Auto Trait Implementations§
impl Freeze for Spell
impl RefUnwindSafe for Spell
impl Send for Spell
impl Sync for Spell
impl Unpin for Spell
impl UnsafeUnpin for Spell
impl UnwindSafe for Spell
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