pub struct MessageActionSetChatWallPaper {
pub same: bool,
pub for_both: bool,
pub wallpaper: WallPaper,
}Expand description
Generated from:
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 Deserializable for MessageActionSetChatWallPaper
impl Deserializable for MessageActionSetChatWallPaper
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<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 = 0x5060a3f4
const CONSTRUCTOR_ID: u32 = 0x5060a3f4
The constructor ID as specified in the TL schema.
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 ==.Source§impl TryFrom<MessageAction> for MessageActionSetChatWallPaper
impl TryFrom<MessageAction> for MessageActionSetChatWallPaper
Source§type Error = MessageAction
type Error = MessageAction
The type returned in the event of a conversion error.
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