pub enum BrowserType {
Chrome,
Firefox,
Edge,
Safari,
Brave,
Opera,
Vivaldi,
Unknown(String),
}
Expand description
Browser type classification
Variants§
Trait Implementations§
Source§impl Clone for BrowserType
impl Clone for BrowserType
Source§fn clone(&self) -> BrowserType
fn clone(&self) -> BrowserType
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 BrowserType
impl Debug for BrowserType
Source§impl<'de> Deserialize<'de> for BrowserType
impl<'de> Deserialize<'de> for BrowserType
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 BrowserType
impl PartialEq for BrowserType
Source§impl Serialize for BrowserType
impl Serialize for BrowserType
impl StructuralPartialEq for BrowserType
Auto Trait Implementations§
impl Freeze for BrowserType
impl RefUnwindSafe for BrowserType
impl Send for BrowserType
impl Sync for BrowserType
impl Unpin for BrowserType
impl UnwindSafe for BrowserType
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