pub struct Page {
pub part: bool,
pub rtl: bool,
pub v2: bool,
pub url: String,
pub blocks: Vec<PageBlock>,
pub photos: Vec<Photo>,
pub documents: Vec<Document>,
pub views: Option<i32>,
}Expand description
Generated from:
page#98657f0d flags:# part:flags.0?true rtl:flags.1?true v2:flags.2?true url:string blocks:Vector<PageBlock> photos:Vector<Photo> documents:Vector<Document> views:flags.3?int = PageFields§
§part: bool§rtl: bool§v2: bool§url: String§blocks: Vec<PageBlock>§photos: Vec<Photo>§documents: Vec<Document>§views: Option<i32>Trait Implementations§
Source§impl Deserializable for Page
impl Deserializable for Page
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 Page
impl Identifiable for Page
Source§const CONSTRUCTOR_ID: u32 = 0x98657f0d
const CONSTRUCTOR_ID: u32 = 0x98657f0d
The constructor ID as specified in the TL schema.
Source§impl Serializable for Page
impl Serializable for Page
impl StructuralPartialEq for Page
Auto Trait Implementations§
impl Freeze for Page
impl RefUnwindSafe for Page
impl Send for Page
impl Sync for Page
impl Unpin for Page
impl UnsafeUnpin for Page
impl UnwindSafe for Page
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