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