pub enum SlashKind {
Builtin,
Command,
Skill,
Other,
}Expand description
What a /name at the start of a message is.
Variants§
Builtin
Built into byob (/compact).
Command
A plugin’s commands/<name>.md: its prompt template, with the arguments filled in,
is what the model gets.
Skill
A skill: the model is told to use it, the arguments are the task.
Other
A kind a newer engine sends that this client doesn’t know (offered like a command).
Trait Implementations§
impl Copy for SlashKind
Source§impl<'de> Deserialize<'de> for SlashKind
impl<'de> Deserialize<'de> for SlashKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SlashKind
impl StructuralPartialEq for SlashKind
Auto Trait Implementations§
impl Forget for SlashKind
impl Freeze for SlashKind
impl Move for SlashKind
impl RefUnwindSafe for SlashKind
impl Send for SlashKind
impl Sync for SlashKind
impl Unpin for SlashKind
impl UnsafeUnpin for SlashKind
impl UnwindSafe for SlashKind
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