pub struct BackgroundTypeChatTheme {
pub kind: String,
pub theme_name: String,
pub extra: BTreeMap<String, Value>,
}Expand description
The background is taken directly from a built-in chat theme.
Fields§
§kind: StringType of the background, always ‘chat_theme’
theme_name: StringName of the chat theme, which is usually an emoji
extra: BTreeMap<String, Value>Implementations§
Trait Implementations§
Source§impl Clone for BackgroundTypeChatTheme
impl Clone for BackgroundTypeChatTheme
Source§impl Debug for BackgroundTypeChatTheme
impl Debug for BackgroundTypeChatTheme
Source§impl<'de> Deserialize<'de> for BackgroundTypeChatTheme
impl<'de> Deserialize<'de> for BackgroundTypeChatTheme
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 From<BackgroundTypeChatTheme> for BackgroundTypeUnion
impl From<BackgroundTypeChatTheme> for BackgroundTypeUnion
Source§fn from(value: BackgroundTypeChatTheme) -> Self
fn from(value: BackgroundTypeChatTheme) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BackgroundTypeChatTheme
impl PartialEq for BackgroundTypeChatTheme
Source§impl Serialize for BackgroundTypeChatTheme
impl Serialize for BackgroundTypeChatTheme
impl StructuralPartialEq for BackgroundTypeChatTheme
Auto Trait Implementations§
impl Freeze for BackgroundTypeChatTheme
impl RefUnwindSafe for BackgroundTypeChatTheme
impl Send for BackgroundTypeChatTheme
impl Sync for BackgroundTypeChatTheme
impl Unpin for BackgroundTypeChatTheme
impl UnsafeUnpin for BackgroundTypeChatTheme
impl UnwindSafe for BackgroundTypeChatTheme
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