pub struct FunctionInvocationConfig {
pub enabled: bool,
pub max_iterations: usize,
pub max_consecutive_errors_per_request: usize,
pub terminate_on_unknown_calls: bool,
pub include_detailed_errors: bool,
}Expand description
Configuration for the automatic function-invocation loop.
Mirrors FunctionInvocationConfiguration.
Fields§
§enabled: bool§max_iterations: usize§max_consecutive_errors_per_request: usize§terminate_on_unknown_calls: bool§include_detailed_errors: boolImplementations§
Trait Implementations§
Source§impl Clone for FunctionInvocationConfig
impl Clone for FunctionInvocationConfig
Source§fn clone(&self) -> FunctionInvocationConfig
fn clone(&self) -> FunctionInvocationConfig
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 FunctionInvocationConfig
impl Debug for FunctionInvocationConfig
Source§impl Default for FunctionInvocationConfig
impl Default for FunctionInvocationConfig
Source§fn default() -> FunctionInvocationConfig
fn default() -> FunctionInvocationConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FunctionInvocationConfig
impl RefUnwindSafe for FunctionInvocationConfig
impl Send for FunctionInvocationConfig
impl Sync for FunctionInvocationConfig
impl Unpin for FunctionInvocationConfig
impl UnsafeUnpin for FunctionInvocationConfig
impl UnwindSafe for FunctionInvocationConfig
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