pub struct LanguagePackStringValuePluralized {
pub zero_value: String,
pub one_value: String,
pub two_value: String,
pub few_value: String,
pub many_value: String,
pub other_value: String,
}
Expand description
A language pack string which has different forms based on the number of some object it mentions
Fields§
§zero_value: String
Value for zero objects
one_value: String
Value for one object
two_value: String
Value for two objects
few_value: String
Value for few objects
many_value: String
Value for many objects
other_value: String
Default value
Trait Implementations§
Source§impl Clone for LanguagePackStringValuePluralized
impl Clone for LanguagePackStringValuePluralized
Source§fn clone(&self) -> LanguagePackStringValuePluralized
fn clone(&self) -> LanguagePackStringValuePluralized
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<'de> Deserialize<'de> for LanguagePackStringValuePluralized
impl<'de> Deserialize<'de> for LanguagePackStringValuePluralized
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
Auto Trait Implementations§
impl Freeze for LanguagePackStringValuePluralized
impl RefUnwindSafe for LanguagePackStringValuePluralized
impl Send for LanguagePackStringValuePluralized
impl Sync for LanguagePackStringValuePluralized
impl Unpin for LanguagePackStringValuePluralized
impl UnwindSafe for LanguagePackStringValuePluralized
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