pub struct WebSearchConfig {
pub proxy: Option<String>,
pub timeout_secs: u64,
pub max_retries: u32,
pub enable_fallback: bool,
}Expand description
Web search configuration
Fields§
§proxy: Option<String>Proxy URL (e.g., “http://127.0.0.1:7890”)
timeout_secs: u64Timeout in seconds
max_retries: u32Max retry attempts
enable_fallback: boolEnable fallback to alternative backends
Trait Implementations§
Source§impl Clone for WebSearchConfig
impl Clone for WebSearchConfig
Source§fn clone(&self) -> WebSearchConfig
fn clone(&self) -> WebSearchConfig
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 WebSearchConfig
impl Debug for WebSearchConfig
Source§impl Default for WebSearchConfig
impl Default for WebSearchConfig
Source§impl<'de> Deserialize<'de> for WebSearchConfig
impl<'de> Deserialize<'de> for WebSearchConfig
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 WebSearchConfig
impl RefUnwindSafe for WebSearchConfig
impl Send for WebSearchConfig
impl Sync for WebSearchConfig
impl Unpin for WebSearchConfig
impl UnsafeUnpin for WebSearchConfig
impl UnwindSafe for WebSearchConfig
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