pub enum GenerateResult {
Content(String),
ToolCalls {
calls: Vec<ToolCall>,
content: Option<String>,
},
}Expand description
Result of generation with tools
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GenerateResult
impl RefUnwindSafe for GenerateResult
impl Send for GenerateResult
impl Sync for GenerateResult
impl Unpin for GenerateResult
impl UnsafeUnpin for GenerateResult
impl UnwindSafe for GenerateResult
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