pub struct LangPackStringPluralized {
pub key: String,
pub zero_value: Option<String>,
pub one_value: Option<String>,
pub two_value: Option<String>,
pub few_value: Option<String>,
pub many_value: Option<String>,
pub other_value: String,
}Expand description
Generated from:
langPackStringPluralized#6c47ac9f flags:# key:string zero_value:flags.0?string one_value:flags.1?string two_value:flags.2?string few_value:flags.3?string many_value:flags.4?string other_value:string = LangPackStringFields§
§key: String§zero_value: Option<String>§one_value: Option<String>§two_value: Option<String>§few_value: Option<String>§many_value: Option<String>§other_value: StringTrait Implementations§
Source§impl Clone for LangPackStringPluralized
impl Clone for LangPackStringPluralized
Source§fn clone(&self) -> LangPackStringPluralized
fn clone(&self) -> LangPackStringPluralized
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 LangPackStringPluralized
impl Debug for LangPackStringPluralized
Source§impl Deserializable for LangPackStringPluralized
impl Deserializable for LangPackStringPluralized
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<LangPackStringPluralized> for LangPackString
impl From<LangPackStringPluralized> for LangPackString
Source§fn from(x: LangPackStringPluralized) -> Self
fn from(x: LangPackStringPluralized) -> Self
Converts to this type from the input type.
Source§impl Identifiable for LangPackStringPluralized
impl Identifiable for LangPackStringPluralized
Source§const CONSTRUCTOR_ID: u32 = 0x6c47ac9f
const CONSTRUCTOR_ID: u32 = 0x6c47ac9f
The constructor ID as specified in the TL schema.
Source§impl PartialEq for LangPackStringPluralized
impl PartialEq for LangPackStringPluralized
Source§impl TryFrom<LangPackString> for LangPackStringPluralized
impl TryFrom<LangPackString> for LangPackStringPluralized
Source§type Error = LangPackString
type Error = LangPackString
The type returned in the event of a conversion error.
impl StructuralPartialEq for LangPackStringPluralized
Auto Trait Implementations§
impl Freeze for LangPackStringPluralized
impl RefUnwindSafe for LangPackStringPluralized
impl Send for LangPackStringPluralized
impl Sync for LangPackStringPluralized
impl Unpin for LangPackStringPluralized
impl UnsafeUnpin for LangPackStringPluralized
impl UnwindSafe for LangPackStringPluralized
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