pub enum FunctionCallChoice {
Mode(String),
Function {
name: String,
},
}Expand description
Legacy function_call accepts a simple mode string or a named function.
Variants§
Trait Implementations§
Source§impl Clone for FunctionCallChoice
impl Clone for FunctionCallChoice
Source§fn clone(&self) -> FunctionCallChoice
fn clone(&self) -> FunctionCallChoice
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 FunctionCallChoice
impl Debug for FunctionCallChoice
Source§impl<'de> Deserialize<'de> for FunctionCallChoice
impl<'de> Deserialize<'de> for FunctionCallChoice
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 FunctionCallChoice
impl RefUnwindSafe for FunctionCallChoice
impl Send for FunctionCallChoice
impl Sync for FunctionCallChoice
impl Unpin for FunctionCallChoice
impl UnsafeUnpin for FunctionCallChoice
impl UnwindSafe for FunctionCallChoice
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