pub struct WallPaper {
pub id: i64,
pub creator: bool,
pub default: bool,
pub pattern: bool,
pub dark: bool,
pub access_hash: i64,
pub slug: String,
pub document: Document,
pub settings: Option<WallPaperSettings>,
}Expand description
Generated from:
wallPaper#a437c3ed id:long flags:# creator:flags.0?true default:flags.1?true pattern:flags.3?true dark:flags.4?true access_hash:long slug:string document:Document settings:flags.2?WallPaperSettings = WallPaperFields§
§id: i64§creator: bool§default: bool§pattern: bool§dark: bool§access_hash: i64§slug: String§document: Document§settings: Option<WallPaperSettings>Trait Implementations§
Source§impl Deserializable for WallPaper
impl Deserializable for WallPaper
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 Identifiable for WallPaper
impl Identifiable for WallPaper
Source§const CONSTRUCTOR_ID: u32 = 0xa437c3ed
const CONSTRUCTOR_ID: u32 = 0xa437c3ed
The constructor ID as specified in the TL schema.
Source§impl Serializable for WallPaper
impl Serializable for WallPaper
impl StructuralPartialEq for WallPaper
Auto Trait Implementations§
impl Freeze for WallPaper
impl RefUnwindSafe for WallPaper
impl Send for WallPaper
impl Sync for WallPaper
impl Unpin for WallPaper
impl UnsafeUnpin for WallPaper
impl UnwindSafe for WallPaper
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