pub struct EmojiLanguage {
pub lang_code: String,
}Expand description
Fields§
§lang_code: StringTrait Implementations§
Source§impl Clone for EmojiLanguage
impl Clone for EmojiLanguage
Source§fn clone(&self) -> EmojiLanguage
fn clone(&self) -> EmojiLanguage
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 EmojiLanguage
impl Debug for EmojiLanguage
Source§impl Deserializable for EmojiLanguage
impl Deserializable for EmojiLanguage
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<EmojiLanguage> for EmojiLanguage
impl From<EmojiLanguage> for EmojiLanguage
Source§fn from(x: EmojiLanguage) -> Self
fn from(x: EmojiLanguage) -> Self
Converts to this type from the input type.
Source§impl Identifiable for EmojiLanguage
impl Identifiable for EmojiLanguage
Source§const CONSTRUCTOR_ID: u32 = 0xb3fb5361
const CONSTRUCTOR_ID: u32 = 0xb3fb5361
The constructor ID as specified in the TL schema.
Source§impl PartialEq for EmojiLanguage
impl PartialEq for EmojiLanguage
Source§impl Serializable for EmojiLanguage
impl Serializable for EmojiLanguage
Source§impl TryFrom<EmojiLanguage> for EmojiLanguage
impl TryFrom<EmojiLanguage> for EmojiLanguage
Source§type Error = EmojiLanguage
type Error = EmojiLanguage
The type returned in the event of a conversion error.
impl StructuralPartialEq for EmojiLanguage
Auto Trait Implementations§
impl Freeze for EmojiLanguage
impl RefUnwindSafe for EmojiLanguage
impl Send for EmojiLanguage
impl Sync for EmojiLanguage
impl Unpin for EmojiLanguage
impl UnsafeUnpin for EmojiLanguage
impl UnwindSafe for EmojiLanguage
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