pub struct ChatBackground {
pub background_type: BackgroundType,
}
Expand description
Represents a chat background.
Fields§
§background_type: BackgroundType
Type of the background
Trait Implementations§
Source§impl Clone for ChatBackground
impl Clone for ChatBackground
Source§fn clone(&self) -> ChatBackground
fn clone(&self) -> ChatBackground
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 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 From<BackgroundType> for ChatBackground
impl From<BackgroundType> for ChatBackground
Source§fn from(value: BackgroundType) -> Self
fn from(value: BackgroundType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ChatBackground
impl PartialEq for ChatBackground
Source§impl PartialOrd for ChatBackground
impl PartialOrd for ChatBackground
Source§impl Serialize for ChatBackground
impl Serialize 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