pub struct ToolCallPresentation {
pub title: SafeDisplayText,
pub primary_argument: Option<BoundedDisplayText>,
}Fields§
§title: SafeDisplayText§primary_argument: Option<BoundedDisplayText>Trait Implementations§
Source§impl Clone for ToolCallPresentation
impl Clone for ToolCallPresentation
Source§fn clone(&self) -> ToolCallPresentation
fn clone(&self) -> ToolCallPresentation
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 ToolCallPresentation
impl Debug for ToolCallPresentation
Source§impl<'de> Deserialize<'de> for ToolCallPresentation
impl<'de> Deserialize<'de> for ToolCallPresentation
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
impl Eq for ToolCallPresentation
Source§impl JsonSchema for ToolCallPresentation
impl JsonSchema for ToolCallPresentation
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ToolCallPresentation
impl PartialEq for ToolCallPresentation
Source§fn eq(&self, other: &ToolCallPresentation) -> bool
fn eq(&self, other: &ToolCallPresentation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ToolCallPresentation
impl Serialize for ToolCallPresentation
impl StructuralPartialEq for ToolCallPresentation
Auto Trait Implementations§
impl Freeze for ToolCallPresentation
impl RefUnwindSafe for ToolCallPresentation
impl Send for ToolCallPresentation
impl Sync for ToolCallPresentation
impl Unpin for ToolCallPresentation
impl UnsafeUnpin for ToolCallPresentation
impl UnwindSafe for ToolCallPresentation
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