pub enum LanguagePackStringValue {
Ordinary(LanguagePackStringValueOrdinary),
Pluralized(LanguagePackStringValuePluralized),
Deleted,
}
Variants§
Ordinary(LanguagePackStringValueOrdinary)
An ordinary language pack string
Pluralized(LanguagePackStringValuePluralized)
A language pack string which has different forms based on the number of some object it mentions. See https:www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html for more information
Deleted
A deleted language pack string, the value must be taken from the built-in English language pack
Trait Implementations§
Source§impl Clone for LanguagePackStringValue
impl Clone for LanguagePackStringValue
Source§fn clone(&self) -> LanguagePackStringValue
fn clone(&self) -> LanguagePackStringValue
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 LanguagePackStringValue
impl Debug for LanguagePackStringValue
Source§impl<'de> Deserialize<'de> for LanguagePackStringValue
impl<'de> Deserialize<'de> for LanguagePackStringValue
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 LanguagePackStringValue
impl PartialEq for LanguagePackStringValue
Source§impl Serialize for LanguagePackStringValue
impl Serialize for LanguagePackStringValue
impl StructuralPartialEq for LanguagePackStringValue
Auto Trait Implementations§
impl Freeze for LanguagePackStringValue
impl RefUnwindSafe for LanguagePackStringValue
impl Send for LanguagePackStringValue
impl Sync for LanguagePackStringValue
impl Unpin for LanguagePackStringValue
impl UnwindSafe for LanguagePackStringValue
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