Enum frankenstein::objects::ChatBackground
source · pub enum ChatBackground {
Fill(BackgroundTypeFill),
Wallpaper(BackgroundTypeWallpaper),
Patter(BackgroundTypePattern),
ChatTheme(BackgroundTypeChatTheme),
}
Variants§
Fill(BackgroundTypeFill)
Wallpaper(BackgroundTypeWallpaper)
Patter(BackgroundTypePattern)
ChatTheme(BackgroundTypeChatTheme)
Trait Implementations§
source§impl Clone for ChatBackground
impl Clone for ChatBackground
source§fn clone(&self) -> ChatBackground
fn clone(&self) -> ChatBackground
Returns a copy 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 ChatBackground
impl Debug for ChatBackground
source§impl<'de> Deserialize<'de> for ChatBackground
impl<'de> Deserialize<'de> for ChatBackground
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 ChatBackground
impl PartialEq for ChatBackground
source§fn eq(&self, other: &ChatBackground) -> bool
fn eq(&self, other: &ChatBackground) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ChatBackground
impl Serialize for ChatBackground
impl Eq for ChatBackground
impl StructuralPartialEq for ChatBackground
Auto Trait Implementations§
impl Freeze for ChatBackground
impl RefUnwindSafe for ChatBackground
impl Send for ChatBackground
impl Sync for ChatBackground
impl Unpin for ChatBackground
impl UnwindSafe for ChatBackground
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