pub enum WebSearchAction {
Search {
queries: Option<Vec<String>>,
query: Option<String>,
},
OpenPage {
url: Option<String>,
},
FindInPage {
pattern: Option<String>,
url: Option<String>,
},
Other,
}Variants§
Trait Implementations§
Source§impl Clone for WebSearchAction
impl Clone for WebSearchAction
Source§fn clone(&self) -> WebSearchAction
fn clone(&self) -> WebSearchAction
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 WebSearchAction
impl Debug for WebSearchAction
Source§impl<'de> Deserialize<'de> for WebSearchAction
impl<'de> Deserialize<'de> for WebSearchAction
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
Source§impl PartialEq for WebSearchAction
impl PartialEq for WebSearchAction
Source§fn eq(&self, other: &WebSearchAction) -> bool
fn eq(&self, other: &WebSearchAction) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WebSearchAction
impl Serialize for WebSearchAction
impl StructuralPartialEq for WebSearchAction
Auto Trait Implementations§
impl Freeze for WebSearchAction
impl RefUnwindSafe for WebSearchAction
impl Send for WebSearchAction
impl Sync for WebSearchAction
impl Unpin for WebSearchAction
impl UnsafeUnpin for WebSearchAction
impl UnwindSafe for WebSearchAction
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