pub struct UpdateDefaultBackground {
pub for_dark_theme: bool,
pub background: Option<Background>,
}
Expand description
The default background has changed
Fields§
§for_dark_theme: bool
True, if default background for dark theme has changed
background: Option<Background>
The new default background; may be null
Trait Implementations§
Source§impl Clone for UpdateDefaultBackground
impl Clone for UpdateDefaultBackground
Source§fn clone(&self) -> UpdateDefaultBackground
fn clone(&self) -> UpdateDefaultBackground
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 UpdateDefaultBackground
impl Debug for UpdateDefaultBackground
Source§impl<'de> Deserialize<'de> for UpdateDefaultBackground
impl<'de> Deserialize<'de> for UpdateDefaultBackground
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 UpdateDefaultBackground
impl PartialEq for UpdateDefaultBackground
Source§impl Serialize for UpdateDefaultBackground
impl Serialize for UpdateDefaultBackground
impl StructuralPartialEq for UpdateDefaultBackground
Auto Trait Implementations§
impl Freeze for UpdateDefaultBackground
impl RefUnwindSafe for UpdateDefaultBackground
impl Send for UpdateDefaultBackground
impl Sync for UpdateDefaultBackground
impl Unpin for UpdateDefaultBackground
impl UnwindSafe for UpdateDefaultBackground
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