pub struct FunctionSchema {
pub name: String,
pub description: String,
pub parameters: Value,
}Fields§
§name: String§description: String§parameters: ValueTrait Implementations§
Source§impl Clone for FunctionSchema
impl Clone for FunctionSchema
Source§fn clone(&self) -> FunctionSchema
fn clone(&self) -> FunctionSchema
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 FunctionSchema
impl Debug for FunctionSchema
Source§impl<'de> Deserialize<'de> for FunctionSchema
impl<'de> Deserialize<'de> for FunctionSchema
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
Auto Trait Implementations§
impl Freeze for FunctionSchema
impl RefUnwindSafe for FunctionSchema
impl Send for FunctionSchema
impl Sync for FunctionSchema
impl Unpin for FunctionSchema
impl UnsafeUnpin for FunctionSchema
impl UnwindSafe for FunctionSchema
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