pub struct LocaleInfo {
pub translators: Vec<StyleAttribution>,
pub rights: Option<License>,
pub updated: Option<Timestamp>,
}
Expand description
Metadata of a locale.
Fields§
§translators: Vec<StyleAttribution>
The translators of the locale.
rights: Option<License>
The license under which the locale is published.
updated: Option<Timestamp>
When the locale was last updated.
Trait Implementations§
source§impl Clone for LocaleInfo
impl Clone for LocaleInfo
source§fn clone(&self) -> LocaleInfo
fn clone(&self) -> LocaleInfo
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 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 Hash for LocaleInfo
impl Hash for LocaleInfo
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
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
)