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§
impl 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