pub struct BackgroundTypeChatTheme {
pub theme_name: String,
}
Expand description
A background from a chat theme; can be used only as a chat background in channels
Fields§
§theme_name: String
Name of the chat theme
Trait Implementations§
Source§impl Clone for BackgroundTypeChatTheme
impl Clone for BackgroundTypeChatTheme
Source§fn clone(&self) -> BackgroundTypeChatTheme
fn clone(&self) -> BackgroundTypeChatTheme
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 BackgroundTypeChatTheme
impl Debug for BackgroundTypeChatTheme
Source§impl Default for BackgroundTypeChatTheme
impl Default for BackgroundTypeChatTheme
Source§fn default() -> BackgroundTypeChatTheme
fn default() -> BackgroundTypeChatTheme
Returns the “default value” for a type. Read more
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 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 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