pub enum ProtocolSchemaInstructionMode {
PromptSchema,
TransportSchema,
}Expand description
Controls whether bootstrap prompt instructions include the full protocol JSON Schema text.
Variants§
PromptSchema
Include the full self-descriptive JSON Schema in the prompt because the provider does not enforce Agentty’s response schema natively.
TransportSchema
Omit the full schema text because the provider enforces the same response schema through its transport-level structured output API.
Trait Implementations§
Source§impl Clone for ProtocolSchemaInstructionMode
impl Clone for ProtocolSchemaInstructionMode
Source§fn clone(&self) -> ProtocolSchemaInstructionMode
fn clone(&self) -> ProtocolSchemaInstructionMode
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 ProtocolSchemaInstructionMode
impl Eq for ProtocolSchemaInstructionMode
impl StructuralPartialEq for ProtocolSchemaInstructionMode
Auto Trait Implementations§
impl Freeze for ProtocolSchemaInstructionMode
impl RefUnwindSafe for ProtocolSchemaInstructionMode
impl Send for ProtocolSchemaInstructionMode
impl Sync for ProtocolSchemaInstructionMode
impl Unpin for ProtocolSchemaInstructionMode
impl UnsafeUnpin for ProtocolSchemaInstructionMode
impl UnwindSafe for ProtocolSchemaInstructionMode
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