pub enum AgentName {
Show 19 variants
MicrosoftInternetExplorer,
MicrosoftEdge,
MozillaFirefox,
GoogleChrome,
AppleSafari,
Opera,
AppleSafariIOs,
OperaMini,
GoogleAndroidBrowserAndWebComponent,
Blackberry,
OperaMobile,
GoogleChromeAndroid,
MozillaFirefoxAndroid,
MicrosoftInternetExplorerMobile,
UcBrowserAndroid,
SamsungBrowserAndroid,
QqBrowserAndroid,
BaiduBrowserAndroid,
Unknown(String),
// some variants omitted
}Expand description
The name of this agent
Variants§
MicrosoftInternetExplorer
MicrosoftEdge
MozillaFirefox
GoogleChrome
AppleSafari
Opera
AppleSafariIOs
OperaMini
GoogleAndroidBrowserAndWebComponent
Blackberry
OperaMobile
GoogleChromeAndroid
MozillaFirefoxAndroid
MicrosoftInternetExplorerMobile
UcBrowserAndroid
SamsungBrowserAndroid
QqBrowserAndroid
BaiduBrowserAndroid
Unknown(String)
An agent that did not exist in the caniuse.com data when this library was created
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AgentName
impl<'de> Deserialize<'de> for AgentName
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize using Serde
Source§impl Ord for AgentName
impl Ord for AgentName
Source§impl PartialOrd for AgentName
impl PartialOrd for AgentName
impl Eq for AgentName
impl StructuralPartialEq for AgentName
Auto Trait Implementations§
impl Freeze for AgentName
impl RefUnwindSafe for AgentName
impl Send for AgentName
impl Sync for AgentName
impl Unpin for AgentName
impl UnwindSafe for AgentName
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