pub struct UpdateSelectedBackground { /* private fields */ }
Expand description
The selected background has changed
Implementations§
Source§impl UpdateSelectedBackground
impl UpdateSelectedBackground
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> UpdateSelectedBackgroundBuilder
pub fn for_dark_theme(&self) -> bool
pub fn background(&self) -> &Option<Background>
Trait Implementations§
Source§impl AsRef<UpdateSelectedBackground> for UpdateSelectedBackground
impl AsRef<UpdateSelectedBackground> for UpdateSelectedBackground
Source§fn as_ref(&self) -> &UpdateSelectedBackground
fn as_ref(&self) -> &UpdateSelectedBackground
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for UpdateSelectedBackground
impl Clone for UpdateSelectedBackground
Source§fn clone(&self) -> UpdateSelectedBackground
fn clone(&self) -> UpdateSelectedBackground
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 UpdateSelectedBackground
impl Debug for UpdateSelectedBackground
Source§impl Default for UpdateSelectedBackground
impl Default for UpdateSelectedBackground
Source§fn default() -> UpdateSelectedBackground
fn default() -> UpdateSelectedBackground
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateSelectedBackground
impl<'de> Deserialize<'de> for UpdateSelectedBackground
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 Serialize for UpdateSelectedBackground
impl Serialize for UpdateSelectedBackground
impl TDUpdate for UpdateSelectedBackground
Auto Trait Implementations§
impl Freeze for UpdateSelectedBackground
impl RefUnwindSafe for UpdateSelectedBackground
impl Send for UpdateSelectedBackground
impl Sync for UpdateSelectedBackground
impl Unpin for UpdateSelectedBackground
impl UnwindSafe for UpdateSelectedBackground
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