pub enum ToolOutputContract {
Static,
FromInputSchema {
input_field: String,
default_schema: Option<Value>,
},
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ToolOutputContract
impl Clone for ToolOutputContract
Source§fn clone(&self) -> ToolOutputContract
fn clone(&self) -> ToolOutputContract
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 moreSource§impl Debug for ToolOutputContract
impl Debug for ToolOutputContract
Source§impl Default for ToolOutputContract
impl Default for ToolOutputContract
Source§fn default() -> ToolOutputContract
fn default() -> ToolOutputContract
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ToolOutputContract
impl<'de> Deserialize<'de> for ToolOutputContract
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ToolOutputContract
impl PartialEq for ToolOutputContract
Source§fn eq(&self, other: &ToolOutputContract) -> bool
fn eq(&self, other: &ToolOutputContract) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ToolOutputContract
impl Serialize for ToolOutputContract
impl StructuralPartialEq for ToolOutputContract
Auto Trait Implementations§
impl Freeze for ToolOutputContract
impl RefUnwindSafe for ToolOutputContract
impl Send for ToolOutputContract
impl Sync for ToolOutputContract
impl Unpin for ToolOutputContract
impl UnsafeUnpin for ToolOutputContract
impl UnwindSafe for ToolOutputContract
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