pub enum LocaleQueryOverride {
Disabled,
Parameter(String),
}Expand description
Controls whether a decoded query parameter overrides Accept-Language.
Variants§
Disabled
Ignore query parameters when selecting a locale.
Parameter(String)
Use the named query parameter before Accept-Language.
Implementations§
Trait Implementations§
Source§impl Clone for LocaleQueryOverride
impl Clone for LocaleQueryOverride
Source§impl Debug for LocaleQueryOverride
impl Debug for LocaleQueryOverride
impl Eq for LocaleQueryOverride
Source§impl PartialEq for LocaleQueryOverride
impl PartialEq for LocaleQueryOverride
impl StructuralPartialEq for LocaleQueryOverride
Auto Trait Implementations§
impl Freeze for LocaleQueryOverride
impl RefUnwindSafe for LocaleQueryOverride
impl Send for LocaleQueryOverride
impl Sync for LocaleQueryOverride
impl Unpin for LocaleQueryOverride
impl UnsafeUnpin for LocaleQueryOverride
impl UnwindSafe for LocaleQueryOverride
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§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.