pub struct ToolFieldSchema {
pub name: String,
pub description: Option<String>,
pub schema: ToolSchema,
pub required: bool,
}Expand description
A named field inside a ToolObjectSchema.
Fields§
§name: String§description: Option<String>§schema: ToolSchema§required: boolTrait Implementations§
Source§impl Clone for ToolFieldSchema
impl Clone for ToolFieldSchema
Source§fn clone(&self) -> ToolFieldSchema
fn clone(&self) -> ToolFieldSchema
Returns a duplicate of the value. Read more
1.0.0 · 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 ToolFieldSchema
impl Debug for ToolFieldSchema
Source§impl PartialEq for ToolFieldSchema
impl PartialEq for ToolFieldSchema
impl Eq for ToolFieldSchema
impl StructuralPartialEq for ToolFieldSchema
Auto Trait Implementations§
impl Freeze for ToolFieldSchema
impl RefUnwindSafe for ToolFieldSchema
impl Send for ToolFieldSchema
impl Sync for ToolFieldSchema
impl Unpin for ToolFieldSchema
impl UnsafeUnpin for ToolFieldSchema
impl UnwindSafe for ToolFieldSchema
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