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