pub struct ChatOptions {
pub to: Option<String>,
pub provider: Option<String>,
pub model: Option<String>,
}Expand description
Options for the chat command.
Fields§
§to: Option<String>Target language code.
provider: Option<String>Provider name.
model: Option<String>Model name.
Auto Trait Implementations§
impl Freeze for ChatOptions
impl RefUnwindSafe for ChatOptions
impl Send for ChatOptions
impl Sync for ChatOptions
impl Unpin for ChatOptions
impl UnwindSafe for ChatOptions
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