pub enum AnalyzeOutcome {
Ok {
fields_json: Map<String, Value>,
tokens_in: u64,
tokens_out: u64,
},
Uncertain {
reason: String,
tokens_in: u64,
tokens_out: u64,
},
}Variants§
Ok
Model produced a JSON object conforming to the schema.
Uncertain
Model explicitly refused / could not comply.
Trait Implementations§
Source§impl Clone for AnalyzeOutcome
impl Clone for AnalyzeOutcome
Source§fn clone(&self) -> AnalyzeOutcome
fn clone(&self) -> AnalyzeOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AnalyzeOutcome
impl RefUnwindSafe for AnalyzeOutcome
impl Send for AnalyzeOutcome
impl Sync for AnalyzeOutcome
impl Unpin for AnalyzeOutcome
impl UnsafeUnpin for AnalyzeOutcome
impl UnwindSafe for AnalyzeOutcome
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