pub enum CompletionMode {
Standard,
HealedJson,
CoercedSchema(Schema),
}Expand description
Mode for completion post-processing.
Variants§
Standard
Return the raw completion response.
HealedJson
Parse the response content as JSON using healing.
CoercedSchema(Schema)
Parse and coerce the response into the provided schema.
Auto Trait Implementations§
impl Freeze for CompletionMode
impl RefUnwindSafe for CompletionMode
impl Send for CompletionMode
impl Sync for CompletionMode
impl Unpin for CompletionMode
impl UnwindSafe for CompletionMode
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