pub struct LocaleInfo {
pub locale: String,
pub display_name: String,
}
Fields§
§locale: String
§display_name: String
Trait Implementations§
Source§impl Clone for LocaleInfo
impl Clone for LocaleInfo
Source§fn clone(&self) -> LocaleInfo
fn clone(&self) -> LocaleInfo
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 LocaleInfo
impl Debug for LocaleInfo
Source§impl<'de> Deserialize<'de> for LocaleInfo
impl<'de> Deserialize<'de> for LocaleInfo
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 LocaleInfo
impl PartialEq for LocaleInfo
Source§impl Serialize for LocaleInfo
impl Serialize for LocaleInfo
impl Eq for LocaleInfo
impl StructuralPartialEq for LocaleInfo
Auto Trait Implementations§
impl Freeze for LocaleInfo
impl RefUnwindSafe for LocaleInfo
impl Send for LocaleInfo
impl Sync for LocaleInfo
impl Unpin for LocaleInfo
impl UnwindSafe for LocaleInfo
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