pub struct SetChatWallPaper {
pub for_both: bool,
pub revert: bool,
pub peer: InputPeer,
pub wallpaper: Option<InputWallPaper>,
pub settings: Option<WallPaperSettings>,
pub id: Option<i32>,
}Expand description
Generated from:
messages.setChatWallPaper#8ffacae1 flags:# for_both:flags.3?true revert:flags.4?true peer:InputPeer wallpaper:flags.0?InputWallPaper settings:flags.2?WallPaperSettings id:flags.1?int = UpdatesFields§
§for_both: bool§revert: bool§peer: InputPeer§wallpaper: Option<InputWallPaper>§settings: Option<WallPaperSettings>§id: Option<i32>Trait Implementations§
Source§impl Clone for SetChatWallPaper
impl Clone for SetChatWallPaper
Source§fn clone(&self) -> SetChatWallPaper
fn clone(&self) -> SetChatWallPaper
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 SetChatWallPaper
impl Debug for SetChatWallPaper
Source§impl Identifiable for SetChatWallPaper
impl Identifiable for SetChatWallPaper
Source§const CONSTRUCTOR_ID: u32 = 0x8ffacae1
const CONSTRUCTOR_ID: u32 = 0x8ffacae1
The constructor ID as specified in the TL schema.
Source§impl PartialEq for SetChatWallPaper
impl PartialEq for SetChatWallPaper
Source§impl RemoteCall for SetChatWallPaper
impl RemoteCall for SetChatWallPaper
Source§impl Serializable for SetChatWallPaper
impl Serializable for SetChatWallPaper
impl StructuralPartialEq for SetChatWallPaper
Auto Trait Implementations§
impl Freeze for SetChatWallPaper
impl RefUnwindSafe for SetChatWallPaper
impl Send for SetChatWallPaper
impl Sync for SetChatWallPaper
impl Unpin for SetChatWallPaper
impl UnsafeUnpin for SetChatWallPaper
impl UnwindSafe for SetChatWallPaper
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