pub struct LanguageSettings {
pub user: Option<Languages>,
pub device: Option<Languages>,
pub replica: Option<Languages>,
}Expand description
The ranked languages of the user, this device and this replica, where set.
Fields§
§user: Option<Languages>The user’s.
device: Option<Languages>This device’s.
replica: Option<Languages>This replica’s.
Implementations§
Trait Implementations§
Source§impl Clone for LanguageSettings
impl Clone for LanguageSettings
Source§impl Debug for LanguageSettings
impl Debug for LanguageSettings
Source§impl Default for LanguageSettings
impl Default for LanguageSettings
impl Eq for LanguageSettings
Source§impl PartialEq for LanguageSettings
impl PartialEq for LanguageSettings
impl StructuralPartialEq for LanguageSettings
Auto Trait Implementations§
impl Forget for LanguageSettings
impl Freeze for LanguageSettings
impl Move for LanguageSettings
impl RefUnwindSafe for LanguageSettings
impl Send for LanguageSettings
impl Sync for LanguageSettings
impl Unpin for LanguageSettings
impl UnsafeUnpin for LanguageSettings
impl UnwindSafe for LanguageSettings
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.