pub struct WebSearchConfig {
pub provider: String,
pub brave_api_key: Option<String>,
pub jina_api_key: Option<String>,
pub timeout_secs: u64,
pub user_agent: String,
}Fields§
§provider: String§brave_api_key: Option<String>§jina_api_key: Option<String>§timeout_secs: u64§user_agent: StringTrait 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 · 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
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