pub struct FunctionParameters {
pub type: String,
pub properties: Value,
pub required: Vec<String>,
}Expand description
Function parameters schema
Fields§
§type: StringType (usually “OBJECT”)
properties: ValueProperties schema
required: Vec<String>Required parameter names
Trait Implementations§
Source§impl Clone for FunctionParameters
impl Clone for FunctionParameters
Source§fn clone(&self) -> FunctionParameters
fn clone(&self) -> FunctionParameters
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 FunctionParameters
impl Debug for FunctionParameters
Auto Trait Implementations§
impl Freeze for FunctionParameters
impl RefUnwindSafe for FunctionParameters
impl Send for FunctionParameters
impl Sync for FunctionParameters
impl Unpin for FunctionParameters
impl UnwindSafe for FunctionParameters
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