pub struct ChatBackground {
pub background: Background,
pub dark_theme_dimming: i32,
}
Expand description
Describes a background set for a specific chat
Fields§
§background: Background
The background
dark_theme_dimming: i32
Dimming of the background in dark themes, as a percentage; 0-100. Applied only to Wallpaper and Fill types of 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 PartialEq for ChatBackground
impl PartialEq 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