pub struct SkillBlock {
pub name: String,
pub location: String,
pub content: String,
pub user_message: Option<String>,
}Expand description
pi’s ParsedSkillBlock: a skill invocation as /skill:<name> expands it.
Fields§
§name: StringThe skill’s name.
location: StringWhere its file is.
content: StringThe text between the tags.
user_message: Option<String>What the user wrote after the command, if anything.
Trait Implementations§
Source§impl Clone for SkillBlock
impl Clone for SkillBlock
Source§impl Debug for SkillBlock
impl Debug for SkillBlock
impl Eq for SkillBlock
Source§impl PartialEq for SkillBlock
impl PartialEq for SkillBlock
impl StructuralPartialEq for SkillBlock
Auto Trait Implementations§
impl Forget for SkillBlock
impl Freeze for SkillBlock
impl RefUnwindSafe for SkillBlock
impl Send for SkillBlock
impl Sync for SkillBlock
impl Unpin for SkillBlock
impl UnsafeUnpin for SkillBlock
impl UnwindSafe for SkillBlock
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.