pub struct WebSearchSettingsLayer {
pub route_preference: Option<WebSearchRoutePreference>,
pub allowed_domains: Option<Vec<String>>,
pub blocked_domains: Option<Vec<String>>,
pub location: Option<WebSearchLocationSettingsLayer>,
pub client: Option<ClientWebSearchSettingsLayer>,
}Expand description
Sparse web-search settings overlay.
Fields§
§route_preference: Option<WebSearchRoutePreference>Route-preference override.
allowed_domains: Option<Vec<String>>Domain allowlist replacement.
blocked_domains: Option<Vec<String>>Domain blocklist replacement.
location: Option<WebSearchLocationSettingsLayer>Nested approximate-location overlay.
client: Option<ClientWebSearchSettingsLayer>Nested client-backend overlay.
Trait Implementations§
Source§impl Clone for WebSearchSettingsLayer
impl Clone for WebSearchSettingsLayer
Source§impl Debug for WebSearchSettingsLayer
impl Debug for WebSearchSettingsLayer
Source§impl Default for WebSearchSettingsLayer
impl Default for WebSearchSettingsLayer
Source§impl<'de> Deserialize<'de> for WebSearchSettingsLayer
impl<'de> Deserialize<'de> for WebSearchSettingsLayer
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 WebSearchSettingsLayer
Source§impl PartialEq for WebSearchSettingsLayer
impl PartialEq for WebSearchSettingsLayer
Source§impl Serialize for WebSearchSettingsLayer
impl Serialize for WebSearchSettingsLayer
impl StructuralPartialEq for WebSearchSettingsLayer
Auto Trait Implementations§
impl Freeze for WebSearchSettingsLayer
impl RefUnwindSafe for WebSearchSettingsLayer
impl Send for WebSearchSettingsLayer
impl Sync for WebSearchSettingsLayer
impl Unpin for WebSearchSettingsLayer
impl UnsafeUnpin for WebSearchSettingsLayer
impl UnwindSafe for WebSearchSettingsLayer
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.