pub struct AutomaticFunctionCallingConfig {
pub disable: Option<bool>,
pub maximum_remote_calls: Option<i32>,
pub ignore_call_history: Option<bool>,
}Expand description
自动函数调用配置(SDK 内部配置)。
Fields§
§disable: Option<bool>是否禁用自动函数调用。
maximum_remote_calls: Option<i32>最大远程调用次数(默认 10,<=0 会禁用)。
ignore_call_history: Option<bool>是否忽略自动函数调用历史。
Trait Implementations§
Source§impl Clone for AutomaticFunctionCallingConfig
impl Clone for AutomaticFunctionCallingConfig
Source§fn clone(&self) -> AutomaticFunctionCallingConfig
fn clone(&self) -> AutomaticFunctionCallingConfig
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 Default for AutomaticFunctionCallingConfig
impl Default for AutomaticFunctionCallingConfig
Source§fn default() -> AutomaticFunctionCallingConfig
fn default() -> AutomaticFunctionCallingConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AutomaticFunctionCallingConfig
impl<'de> Deserialize<'de> for AutomaticFunctionCallingConfig
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 AutomaticFunctionCallingConfig
impl RefUnwindSafe for AutomaticFunctionCallingConfig
impl Send for AutomaticFunctionCallingConfig
impl Sync for AutomaticFunctionCallingConfig
impl Unpin for AutomaticFunctionCallingConfig
impl UnsafeUnpin for AutomaticFunctionCallingConfig
impl UnwindSafe for AutomaticFunctionCallingConfig
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