Enum relay_filter::LegacyBrowser
source · pub enum LegacyBrowser {
Show 19 variants
Default,
IePre9,
Ie9,
Ie10,
Ie11,
OperaPre15,
OperaMiniPre8,
AndroidPre4,
SafariPre6,
EdgePre79,
Ie,
Safari,
Opera,
OperaMini,
Android,
Firefox,
Chrome,
Edge,
Unknown(String),
}
Expand description
A browser class to be filtered by the legacy browser filter.
Variants§
Default
Applies the default set of min-version filters for all known browsers.
IePre9
Apply to Internet Explorer 8 and older.
Ie9
Apply to Internet Explorer 9.
Ie10
Apply to Internet Explorer 10.
Ie11
Apply to Internet Explorer 11.
OperaPre15
Apply to Opera 14 and older.
OperaMiniPre8
Apply to OperaMini 7 and older.
AndroidPre4
Apply to Android (Chrome) 3 and older.
SafariPre6
Apply to Safari 5 and older.
EdgePre79
Edge legacy i.e. 12-18.
Ie
Apply to Internet Explorer
Safari
Apply to Safari
Opera
Apply to Opera
OperaMini
Apply to OperaMini
Android
Apply to Android Browser
Firefox
Apply to Firefox
Chrome
Apply to Chrome
Edge
Apply to Edge
Unknown(String)
An unknown browser configuration for forward compatibility.
Trait Implementations§
source§impl Clone for LegacyBrowser
impl Clone for LegacyBrowser
source§fn clone(&self) -> LegacyBrowser
fn clone(&self) -> LegacyBrowser
Returns a copy 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 LegacyBrowser
impl Debug for LegacyBrowser
source§impl<'de> Deserialize<'de> for LegacyBrowser
impl<'de> Deserialize<'de> for LegacyBrowser
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 FromStr for LegacyBrowser
impl FromStr for LegacyBrowser
source§impl Hash for LegacyBrowser
impl Hash for LegacyBrowser
source§impl Ord for LegacyBrowser
impl Ord for LegacyBrowser
source§fn cmp(&self, other: &LegacyBrowser) -> Ordering
fn cmp(&self, other: &LegacyBrowser) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for LegacyBrowser
impl PartialEq for LegacyBrowser
source§impl PartialOrd for LegacyBrowser
impl PartialOrd for LegacyBrowser
source§impl Serialize for LegacyBrowser
impl Serialize for LegacyBrowser
impl Eq for LegacyBrowser
impl StructuralPartialEq for LegacyBrowser
Auto Trait Implementations§
impl Freeze for LegacyBrowser
impl RefUnwindSafe for LegacyBrowser
impl Send for LegacyBrowser
impl Sync for LegacyBrowser
impl Unpin for LegacyBrowser
impl UnwindSafe for LegacyBrowser
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.