Struct rust_tdlib::types::UpdateSelectedBackground
source · [−]pub struct UpdateSelectedBackground { /* private fields */ }Expand description
The selected background has changed
Implementations
sourceimpl 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
sourceimpl AsRef<UpdateSelectedBackground> for UpdateSelectedBackground
impl AsRef<UpdateSelectedBackground> for UpdateSelectedBackground
sourcefn as_ref(&self) -> &UpdateSelectedBackground
fn as_ref(&self) -> &UpdateSelectedBackground
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for UpdateSelectedBackground
impl Clone for UpdateSelectedBackground
sourcefn clone(&self) -> UpdateSelectedBackground
fn clone(&self) -> UpdateSelectedBackground
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for UpdateSelectedBackground
impl Debug for UpdateSelectedBackground
sourceimpl Default for UpdateSelectedBackground
impl Default for UpdateSelectedBackground
sourcefn default() -> UpdateSelectedBackground
fn default() -> UpdateSelectedBackground
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for UpdateSelectedBackground
impl<'de> Deserialize<'de> for UpdateSelectedBackground
sourcefn 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
sourceimpl Serialize for UpdateSelectedBackground
impl Serialize for UpdateSelectedBackground
impl TDUpdate for UpdateSelectedBackground
Auto Trait Implementations
impl RefUnwindSafe for UpdateSelectedBackground
impl Send for UpdateSelectedBackground
impl Sync for UpdateSelectedBackground
impl Unpin for UpdateSelectedBackground
impl UnwindSafe for UpdateSelectedBackground
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more