#[non_exhaustive]pub enum WebSearchCapabilityMode {
Delegate,
Disabled,
}Expand description
Toggle for hosted web search capability.
TOML representation: "delegate" / "disabled".
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Delegate
Delegate to provider-hosted web search. Session startup fails if the provider does not support it.
Disabled
Do not expose hosted web search.
Trait Implementations§
Source§impl Clone for WebSearchCapabilityMode
impl Clone for WebSearchCapabilityMode
Source§fn clone(&self) -> WebSearchCapabilityMode
fn clone(&self) -> WebSearchCapabilityMode
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 moreimpl Copy for WebSearchCapabilityMode
Source§impl Debug for WebSearchCapabilityMode
impl Debug for WebSearchCapabilityMode
Source§impl Default for WebSearchCapabilityMode
impl Default for WebSearchCapabilityMode
Source§fn default() -> WebSearchCapabilityMode
fn default() -> WebSearchCapabilityMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebSearchCapabilityMode
impl<'de> Deserialize<'de> for WebSearchCapabilityMode
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 WebSearchCapabilityMode
Source§impl PartialEq for WebSearchCapabilityMode
impl PartialEq for WebSearchCapabilityMode
Source§fn eq(&self, other: &WebSearchCapabilityMode) -> bool
fn eq(&self, other: &WebSearchCapabilityMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WebSearchCapabilityMode
impl Serialize for WebSearchCapabilityMode
impl StructuralPartialEq for WebSearchCapabilityMode
Auto Trait Implementations§
impl Freeze for WebSearchCapabilityMode
impl RefUnwindSafe for WebSearchCapabilityMode
impl Send for WebSearchCapabilityMode
impl Sync for WebSearchCapabilityMode
impl Unpin for WebSearchCapabilityMode
impl UnsafeUnpin for WebSearchCapabilityMode
impl UnwindSafe for WebSearchCapabilityMode
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