pub struct UpdateTheme {
pub theme: Theme,
}Expand description
Fields§
§theme: ThemeTrait Implementations§
Source§impl Clone for UpdateTheme
impl Clone for UpdateTheme
Source§fn clone(&self) -> UpdateTheme
fn clone(&self) -> UpdateTheme
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 UpdateTheme
impl Debug for UpdateTheme
Source§impl Deserializable for UpdateTheme
impl Deserializable for UpdateTheme
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<UpdateTheme> for Update
impl From<UpdateTheme> for Update
Source§fn from(x: UpdateTheme) -> Self
fn from(x: UpdateTheme) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateTheme
impl Identifiable for UpdateTheme
Source§const CONSTRUCTOR_ID: u32 = 0x8216fba3
const CONSTRUCTOR_ID: u32 = 0x8216fba3
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdateTheme
impl PartialEq for UpdateTheme
Source§impl Serializable for UpdateTheme
impl Serializable for UpdateTheme
Source§impl TryFrom<Update> for UpdateTheme
impl TryFrom<Update> for UpdateTheme
impl StructuralPartialEq for UpdateTheme
Auto Trait Implementations§
impl Freeze for UpdateTheme
impl RefUnwindSafe for UpdateTheme
impl Send for UpdateTheme
impl Sync for UpdateTheme
impl Unpin for UpdateTheme
impl UnsafeUnpin for UpdateTheme
impl UnwindSafe for UpdateTheme
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