pub enum Command {
Show 17 variants
Help,
Version,
Message(String),
REPL,
ShowAllSessions,
ShowSession(String),
DeleteSession(String),
ClearAllSessions,
NewSession,
GlobalSystemPrompt(String),
SessionSystemPrompt(String, String),
ShowGlobalSystemPrompt,
ClearGlobalSystemPrompt,
DeleteSessionSystemPrompt(String),
Imagine(String),
ViewConfig,
SetConfig,
}
Variants§
Help
Version
Message(String)
REPL
ShowAllSessions
ShowSession(String)
DeleteSession(String)
ClearAllSessions
NewSession
GlobalSystemPrompt(String)
SessionSystemPrompt(String, String)
ShowGlobalSystemPrompt
ClearGlobalSystemPrompt
DeleteSessionSystemPrompt(String)
Imagine(String)
ViewConfig
SetConfig
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
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