pub struct CommandCompleteOptions {
pub display: Option<CommandResultDisplay>,
pub should_query: Option<bool>,
pub meta_messages: Option<Vec<String>>,
pub next_input: Option<String>,
pub submit_next_input: Option<bool>,
}Expand description
Options for command completion.
Fields§
§display: Option<CommandResultDisplay>How to display the result
should_query: Option<bool>If true, send messages to the model after command completes
meta_messages: Option<Vec<String>>Additional messages to insert as isMeta
next_input: Option<String>§submit_next_input: Option<bool>Trait Implementations§
Source§impl Clone for CommandCompleteOptions
impl Clone for CommandCompleteOptions
Source§fn clone(&self) -> CommandCompleteOptions
fn clone(&self) -> CommandCompleteOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CommandCompleteOptions
impl Debug for CommandCompleteOptions
Source§impl<'de> Deserialize<'de> for CommandCompleteOptions
impl<'de> Deserialize<'de> for CommandCompleteOptions
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
Auto Trait Implementations§
impl Freeze for CommandCompleteOptions
impl RefUnwindSafe for CommandCompleteOptions
impl Send for CommandCompleteOptions
impl Sync for CommandCompleteOptions
impl Unpin for CommandCompleteOptions
impl UnsafeUnpin for CommandCompleteOptions
impl UnwindSafe for CommandCompleteOptions
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