pub enum StructuredOutputBranch {
Final,
ToolCall,
}Expand description
Branch established by the structured-output grammar for a complete result.
When both the final and tool languages accept the same bytes, the grammar
owner must select Final before invoking the classified response helper.
Variants§
Trait Implementations§
Source§impl Clone for StructuredOutputBranch
impl Clone for StructuredOutputBranch
Source§fn clone(&self) -> StructuredOutputBranch
fn clone(&self) -> StructuredOutputBranch
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 moreimpl Copy for StructuredOutputBranch
Source§impl Debug for StructuredOutputBranch
impl Debug for StructuredOutputBranch
impl Eq for StructuredOutputBranch
Source§impl PartialEq for StructuredOutputBranch
impl PartialEq for StructuredOutputBranch
impl StructuralPartialEq for StructuredOutputBranch
Auto Trait Implementations§
impl Freeze for StructuredOutputBranch
impl RefUnwindSafe for StructuredOutputBranch
impl Send for StructuredOutputBranch
impl Sync for StructuredOutputBranch
impl Unpin for StructuredOutputBranch
impl UnsafeUnpin for StructuredOutputBranch
impl UnwindSafe for StructuredOutputBranch
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