pub struct BingConfig {
pub api_key: String,
pub market: String,
}Expand description
Bing Web Search API config.
Fields§
§api_key: String§market: StringMarket code, e.g. “en-US”, “it-IT” (default: “en-US”).
Trait Implementations§
Source§impl Clone for BingConfig
impl Clone for BingConfig
Source§fn clone(&self) -> BingConfig
fn clone(&self) -> BingConfig
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 BingConfig
impl Debug for BingConfig
Source§impl Default for BingConfig
impl Default for BingConfig
Source§impl<'de> Deserialize<'de> for BingConfigwhere
BingConfig: Default,
impl<'de> Deserialize<'de> for BingConfigwhere
BingConfig: 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
Auto Trait Implementations§
impl Freeze for BingConfig
impl RefUnwindSafe for BingConfig
impl Send for BingConfig
impl Sync for BingConfig
impl Unpin for BingConfig
impl UnsafeUnpin for BingConfig
impl UnwindSafe for BingConfig
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