pub struct KnowledgebaseGroundingPolicy {
pub required: bool,
pub strict: bool,
pub server_names: Vec<String>,
pub tool_patterns: Vec<String>,
}Fields§
§required: bool§strict: bool§server_names: Vec<String>§tool_patterns: Vec<String>Trait Implementations§
Source§impl Clone for KnowledgebaseGroundingPolicy
impl Clone for KnowledgebaseGroundingPolicy
Source§fn clone(&self) -> KnowledgebaseGroundingPolicy
fn clone(&self) -> KnowledgebaseGroundingPolicy
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 KnowledgebaseGroundingPolicy
impl Debug for KnowledgebaseGroundingPolicy
Source§impl Default for KnowledgebaseGroundingPolicy
impl Default for KnowledgebaseGroundingPolicy
Source§fn default() -> KnowledgebaseGroundingPolicy
fn default() -> KnowledgebaseGroundingPolicy
Returns the “default value” for a type. Read more
Source§impl PartialEq for KnowledgebaseGroundingPolicy
impl PartialEq for KnowledgebaseGroundingPolicy
Source§fn eq(&self, other: &KnowledgebaseGroundingPolicy) -> bool
fn eq(&self, other: &KnowledgebaseGroundingPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for KnowledgebaseGroundingPolicy
impl StructuralPartialEq for KnowledgebaseGroundingPolicy
Auto Trait Implementations§
impl Freeze for KnowledgebaseGroundingPolicy
impl RefUnwindSafe for KnowledgebaseGroundingPolicy
impl Send for KnowledgebaseGroundingPolicy
impl Sync for KnowledgebaseGroundingPolicy
impl Unpin for KnowledgebaseGroundingPolicy
impl UnsafeUnpin for KnowledgebaseGroundingPolicy
impl UnwindSafe for KnowledgebaseGroundingPolicy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.