pub struct MessageActionSetChatWallPaper {
pub same: bool,
pub for_both: bool,
pub wallpaper: WallPaper,
}Expand description
Read messageActionSetChatWallPaper docs.
Generated from the following TL definition:
messageActionSetChatWallPaper#5060a3f4 flags:# same:flags.0?true for_both:flags.1?true wallpaper:WallPaper = MessageActionFields§
§same: bool§for_both: bool§wallpaper: WallPaperTrait Implementations§
Source§impl Clone for MessageActionSetChatWallPaper
impl Clone for MessageActionSetChatWallPaper
Source§fn clone(&self) -> MessageActionSetChatWallPaper
fn clone(&self) -> MessageActionSetChatWallPaper
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 From<MessageActionSetChatWallPaper> for MessageAction
impl From<MessageActionSetChatWallPaper> for MessageAction
Source§fn from(x: MessageActionSetChatWallPaper) -> Self
fn from(x: MessageActionSetChatWallPaper) -> Self
Converts to this type from the input type.
Source§impl Identifiable for MessageActionSetChatWallPaper
impl Identifiable for MessageActionSetChatWallPaper
Source§const CONSTRUCTOR_ID: u32 = 1348510708
const CONSTRUCTOR_ID: u32 = 1348510708
The unique identifier for the type.
Source§impl PartialEq for MessageActionSetChatWallPaper
impl PartialEq for MessageActionSetChatWallPaper
Source§fn eq(&self, other: &MessageActionSetChatWallPaper) -> bool
fn eq(&self, other: &MessageActionSetChatWallPaper) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MessageActionSetChatWallPaper
Auto Trait Implementations§
impl Freeze for MessageActionSetChatWallPaper
impl RefUnwindSafe for MessageActionSetChatWallPaper
impl Send for MessageActionSetChatWallPaper
impl Sync for MessageActionSetChatWallPaper
impl Unpin for MessageActionSetChatWallPaper
impl UnsafeUnpin for MessageActionSetChatWallPaper
impl UnwindSafe for MessageActionSetChatWallPaper
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