pub struct LocaleCatalog {
pub locales: Vec<String>,
pub default_locale: String,
pub fallback_locale: Option<String>,
pub entries: BTreeMap<String, BTreeMap<String, String>>,
}Fields§
§locales: Vec<String>§default_locale: String§fallback_locale: Option<String>§entries: BTreeMap<String, BTreeMap<String, String>>Implementations§
Source§impl LocaleCatalog
impl LocaleCatalog
Trait Implementations§
Source§impl Clone for LocaleCatalog
impl Clone for LocaleCatalog
Source§fn clone(&self) -> LocaleCatalog
fn clone(&self) -> LocaleCatalog
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LocaleCatalog
impl Debug for LocaleCatalog
Source§impl PartialEq for LocaleCatalog
impl PartialEq for LocaleCatalog
Source§fn eq(&self, other: &LocaleCatalog) -> bool
fn eq(&self, other: &LocaleCatalog) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LocaleCatalog
impl Serialize for LocaleCatalog
impl Eq for LocaleCatalog
impl StructuralPartialEq for LocaleCatalog
Auto Trait Implementations§
impl Freeze for LocaleCatalog
impl RefUnwindSafe for LocaleCatalog
impl Send for LocaleCatalog
impl Sync for LocaleCatalog
impl Unpin for LocaleCatalog
impl UnsafeUnpin for LocaleCatalog
impl UnwindSafe for LocaleCatalog
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