Struct ai::ChatCommand
source · pub struct ChatCommand {
pub completion: CompletionOptions,
pub system: Option<String>,
pub direction: Option<String>,
pub provider: Option<ChatProvider>,
}Fields§
§completion: CompletionOptions§system: Option<String>§direction: Option<String>§provider: Option<ChatProvider>Implementations§
source§impl ChatCommand
impl ChatCommand
Trait Implementations§
source§impl Args for ChatCommand
impl Args for ChatCommand
source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
source§impl Clone for ChatCommand
impl Clone for ChatCommand
source§fn clone(&self) -> ChatCommand
fn clone(&self) -> ChatCommand
Returns a copy 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 ChatCommand
impl Debug for ChatCommand
source§impl Default for ChatCommand
impl Default for ChatCommand
source§fn default() -> ChatCommand
fn default() -> ChatCommand
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ChatCommand
impl<'de> Deserialize<'de> for ChatCommand
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
source§impl FromArgMatches for ChatCommand
impl FromArgMatches for ChatCommand
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches ) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches ) -> Result<(), Error>
Assign values from
ArgMatches to self.source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches ) -> Result<(), Error>
Assign values from
ArgMatches to self.