pub struct GiftChatTheme {
pub gift: UpgradedGift,
pub light_settings: ThemeSettings,
pub dark_settings: ThemeSettings,
}Expand description
Describes a chat theme based on an upgraded gift
Fields§
§gift: UpgradedGiftThe gift
light_settings: ThemeSettingsTheme settings for a light chat theme
dark_settings: ThemeSettingsTheme settings for a dark chat theme
Trait Implementations§
Source§impl Clone for GiftChatTheme
impl Clone for GiftChatTheme
Source§fn clone(&self) -> GiftChatTheme
fn clone(&self) -> GiftChatTheme
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 GiftChatTheme
impl Debug for GiftChatTheme
Source§impl<'de> Deserialize<'de> for GiftChatTheme
impl<'de> Deserialize<'de> for GiftChatTheme
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 GiftChatTheme
impl PartialEq for GiftChatTheme
Source§impl Serialize for GiftChatTheme
impl Serialize for GiftChatTheme
impl StructuralPartialEq for GiftChatTheme
Auto Trait Implementations§
impl Freeze for GiftChatTheme
impl RefUnwindSafe for GiftChatTheme
impl Send for GiftChatTheme
impl Sync for GiftChatTheme
impl Unpin for GiftChatTheme
impl UnsafeUnpin for GiftChatTheme
impl UnwindSafe for GiftChatTheme
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