pub struct UpdateTheme {
pub format: String,
pub theme: InputTheme,
pub slug: Option<String>,
pub title: Option<String>,
pub document: Option<InputDocument>,
pub settings: Option<Vec<InputThemeSettings>>,
}Expand description
Generated from:
account.updateTheme#2bf40ccc flags:# format:string theme:InputTheme slug:flags.0?string title:flags.1?string document:flags.2?InputDocument settings:flags.3?Vector<InputThemeSettings> = ThemeFields§
§format: String§theme: InputTheme§slug: Option<String>§title: Option<String>§document: Option<InputDocument>§settings: Option<Vec<InputThemeSettings>>Trait 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 Identifiable for UpdateTheme
impl Identifiable for UpdateTheme
Source§const CONSTRUCTOR_ID: u32 = 0x2bf40ccc
const CONSTRUCTOR_ID: u32 = 0x2bf40ccc
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdateTheme
impl PartialEq for UpdateTheme
Source§impl RemoteCall for UpdateTheme
impl RemoteCall for UpdateTheme
Source§impl Serializable for UpdateTheme
impl Serializable 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