pub struct ClientWebSearchSettings {
pub enabled: bool,
pub backend: WebSearchClientBackend,
pub endpoint: String,
pub api_key_environment: String,
pub timeout_millis: u64,
}Expand description
Client web-search backend controls resolved without reading credentials.
Fields§
§enabled: boolWhether an embedding product may attach a real client backend.
backend: WebSearchClientBackendBackend configuration contract expected by the injected provider.
endpoint: StringValidated Tavily-compatible HTTP endpoint.
api_key_environment: StringEnvironment variable name resolved by the embedding product at construction time.
timeout_millis: u64Per-request timeout in milliseconds.
Trait Implementations§
Source§impl Clone for ClientWebSearchSettings
impl Clone for ClientWebSearchSettings
Source§impl Debug for ClientWebSearchSettings
impl Debug for ClientWebSearchSettings
Source§impl Default for ClientWebSearchSettings
impl Default for ClientWebSearchSettings
Source§impl<'de> Deserialize<'de> for ClientWebSearchSettingswhere
ClientWebSearchSettings: Default,
impl<'de> Deserialize<'de> for ClientWebSearchSettingswhere
ClientWebSearchSettings: Default,
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 ClientWebSearchSettings
Source§impl PartialEq for ClientWebSearchSettings
impl PartialEq for ClientWebSearchSettings
Source§impl Serialize for ClientWebSearchSettings
impl Serialize for ClientWebSearchSettings
impl StructuralPartialEq for ClientWebSearchSettings
Auto Trait Implementations§
impl Freeze for ClientWebSearchSettings
impl RefUnwindSafe for ClientWebSearchSettings
impl Send for ClientWebSearchSettings
impl Sync for ClientWebSearchSettings
impl Unpin for ClientWebSearchSettings
impl UnsafeUnpin for ClientWebSearchSettings
impl UnwindSafe for ClientWebSearchSettings
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.