pub struct AskOutcome {
pub model: String,
pub answer: Answer,
pub usage: Option<Usage>,
}Expand description
A resolved decision: what answered, the answer, and what it cost, if the provider reported a usage block.
Fields§
§model: String§answer: Answer§usage: Option<Usage>Trait Implementations§
Source§impl Clone for AskOutcome
impl Clone for AskOutcome
Source§impl Debug for AskOutcome
impl Debug for AskOutcome
Source§impl PartialEq for AskOutcome
impl PartialEq for AskOutcome
impl StructuralPartialEq for AskOutcome
Auto Trait Implementations§
impl Freeze for AskOutcome
impl RefUnwindSafe for AskOutcome
impl Send for AskOutcome
impl Sync for AskOutcome
impl Unpin for AskOutcome
impl UnsafeUnpin for AskOutcome
impl UnwindSafe for AskOutcome
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