pub struct InputChatThemeGift {
pub name: String,
}Expand description
A theme based on an upgraded gift
Fields§
§name: StringName of the upgraded gift. A gift can be used only in one chat in a time. When the same gift is used in another chat, theme in the previous chat is reset to default
Trait Implementations§
Source§impl Clone for InputChatThemeGift
impl Clone for InputChatThemeGift
Source§fn clone(&self) -> InputChatThemeGift
fn clone(&self) -> InputChatThemeGift
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 InputChatThemeGift
impl Debug for InputChatThemeGift
Source§impl Default for InputChatThemeGift
impl Default for InputChatThemeGift
Source§fn default() -> InputChatThemeGift
fn default() -> InputChatThemeGift
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InputChatThemeGift
impl<'de> Deserialize<'de> for InputChatThemeGift
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
Source§impl PartialEq for InputChatThemeGift
impl PartialEq for InputChatThemeGift
Source§impl Serialize for InputChatThemeGift
impl Serialize for InputChatThemeGift
impl StructuralPartialEq for InputChatThemeGift
Auto Trait Implementations§
impl Freeze for InputChatThemeGift
impl RefUnwindSafe for InputChatThemeGift
impl Send for InputChatThemeGift
impl Sync for InputChatThemeGift
impl Unpin for InputChatThemeGift
impl UnsafeUnpin for InputChatThemeGift
impl UnwindSafe for InputChatThemeGift
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