pub struct TextOptions {
pub content: Option<Vec<Content>>,
pub tools: Option<ToolsOrTool>,
pub max_tools: Option<u32>,
pub reasoning: Option<String>,
pub group: Option<Group>,
}Expand description
The options argument of generate_text and generate_text_sync. Dropping
the returned stream closes the socket, which stops the reply.
Fields§
§content: Option<Vec<Content>>§tools: Option<ToolsOrTool>§max_tools: Option<u32>§reasoning: Option<String>§group: Option<Group>Trait Implementations§
Source§impl Clone for TextOptions
impl Clone for TextOptions
Source§impl Debug for TextOptions
impl Debug for TextOptions
Auto Trait Implementations§
impl !RefUnwindSafe for TextOptions
impl !UnwindSafe for TextOptions
impl Forget for TextOptions
impl Freeze for TextOptions
impl Move for TextOptions
impl Send for TextOptions
impl Sync for TextOptions
impl Unpin for TextOptions
impl UnsafeUnpin for TextOptions
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