pub struct ToolExposurePolicy {
pub exposure_mode: ToolExposureMode,
pub allow_parallel_calls: bool,
pub max_calls_per_turn: u32,
pub allowed_planner_stages: Vec<ToolPlannerStage>,
}Fields§
§exposure_mode: ToolExposureMode§allow_parallel_calls: bool§max_calls_per_turn: u32§allowed_planner_stages: Vec<ToolPlannerStage>Trait Implementations§
Source§impl Clone for ToolExposurePolicy
impl Clone for ToolExposurePolicy
Source§fn clone(&self) -> ToolExposurePolicy
fn clone(&self) -> ToolExposurePolicy
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 ToolExposurePolicy
impl Debug for ToolExposurePolicy
Source§impl Default for ToolExposurePolicy
impl Default for ToolExposurePolicy
Source§impl<'de> Deserialize<'de> for ToolExposurePolicy
impl<'de> Deserialize<'de> for ToolExposurePolicy
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
impl Eq for ToolExposurePolicy
Source§impl PartialEq for ToolExposurePolicy
impl PartialEq for ToolExposurePolicy
Source§impl Serialize for ToolExposurePolicy
impl Serialize for ToolExposurePolicy
impl StructuralPartialEq for ToolExposurePolicy
Auto Trait Implementations§
impl Freeze for ToolExposurePolicy
impl RefUnwindSafe for ToolExposurePolicy
impl Send for ToolExposurePolicy
impl Sync for ToolExposurePolicy
impl Unpin for ToolExposurePolicy
impl UnsafeUnpin for ToolExposurePolicy
impl UnwindSafe for ToolExposurePolicy
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