pub enum BuiltinUserAgentList {
Show 18 variants
Chrome,
ChromeLinux,
ChromeMac,
ChromeMobile,
ChromeTablet,
ChromeWindows,
Firefox,
FirefoxLinux,
FirefoxMac,
FirefoxMobile,
FirefoxTablet,
FirefoxWindows,
Safari,
SafariMac,
SafariMobile,
SafariTablet,
SafariWindows,
Random,
}Expand description
Predefined lists of User-Agents for common scenarios.
Variants§
Chrome
Generic Chrome User-Agents.
ChromeLinux
Chrome User-Agents on Linux.
ChromeMac
Chrome User-Agents on Mac.
ChromeMobile
Chrome Mobile User-Agents.
ChromeTablet
Chrome Tablet User-Agents.
ChromeWindows
Chrome User-Agents on Windows.
Firefox
Generic Firefox User-Agents.
FirefoxLinux
Firefox User-Agents on Linux.
FirefoxMac
Firefox User-Agents on Mac.
FirefoxMobile
Firefox Mobile User-Agents.
FirefoxTablet
Firefox Tablet User-Agents.
FirefoxWindows
Firefox User-Agents on Windows.
Safari
Generic Safari User-Agents.
SafariMac
Safari User-Agents on Mac.
SafariMobile
Safari Mobile User-Agents.
SafariTablet
Safari Tablet User-Agents.
SafariWindows
Safari User-Agents on Windows.
Random
A random selection from all available User-Agents.
Trait Implementations§
Source§impl Clone for BuiltinUserAgentList
impl Clone for BuiltinUserAgentList
Source§fn clone(&self) -> BuiltinUserAgentList
fn clone(&self) -> BuiltinUserAgentList
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 BuiltinUserAgentList
impl Debug for BuiltinUserAgentList
Source§impl<'de> Deserialize<'de> for BuiltinUserAgentList
impl<'de> Deserialize<'de> for BuiltinUserAgentList
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 BuiltinUserAgentList
impl PartialEq for BuiltinUserAgentList
Source§impl Serialize for BuiltinUserAgentList
impl Serialize for BuiltinUserAgentList
impl Eq for BuiltinUserAgentList
impl StructuralPartialEq for BuiltinUserAgentList
Auto Trait Implementations§
impl Freeze for BuiltinUserAgentList
impl RefUnwindSafe for BuiltinUserAgentList
impl Send for BuiltinUserAgentList
impl Sync for BuiltinUserAgentList
impl Unpin for BuiltinUserAgentList
impl UnwindSafe for BuiltinUserAgentList
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.