pub struct UpdatePeerWallpaper {
pub wallpaper_overridden: bool,
pub peer: Peer,
pub wallpaper: Option<WallPaper>,
}Expand description
Generated from:
updatePeerWallpaper#ae3f101d flags:# wallpaper_overridden:flags.1?true peer:Peer wallpaper:flags.0?WallPaper = UpdateFields§
§wallpaper_overridden: bool§peer: Peer§wallpaper: Option<WallPaper>Trait Implementations§
Source§impl Clone for UpdatePeerWallpaper
impl Clone for UpdatePeerWallpaper
Source§fn clone(&self) -> UpdatePeerWallpaper
fn clone(&self) -> UpdatePeerWallpaper
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 UpdatePeerWallpaper
impl Debug for UpdatePeerWallpaper
Source§impl Deserializable for UpdatePeerWallpaper
impl Deserializable for UpdatePeerWallpaper
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<UpdatePeerWallpaper> for Update
impl From<UpdatePeerWallpaper> for Update
Source§fn from(x: UpdatePeerWallpaper) -> Self
fn from(x: UpdatePeerWallpaper) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdatePeerWallpaper
impl Identifiable for UpdatePeerWallpaper
Source§const CONSTRUCTOR_ID: u32 = 0xae3f101d
const CONSTRUCTOR_ID: u32 = 0xae3f101d
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdatePeerWallpaper
impl PartialEq for UpdatePeerWallpaper
Source§impl Serializable for UpdatePeerWallpaper
impl Serializable for UpdatePeerWallpaper
Source§impl TryFrom<Update> for UpdatePeerWallpaper
impl TryFrom<Update> for UpdatePeerWallpaper
impl StructuralPartialEq for UpdatePeerWallpaper
Auto Trait Implementations§
impl Freeze for UpdatePeerWallpaper
impl RefUnwindSafe for UpdatePeerWallpaper
impl Send for UpdatePeerWallpaper
impl Sync for UpdatePeerWallpaper
impl Unpin for UpdatePeerWallpaper
impl UnsafeUnpin for UpdatePeerWallpaper
impl UnwindSafe for UpdatePeerWallpaper
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