pub struct PageBlockPhoto {
pub photo_id: i64,
pub caption: PageCaption,
pub url: Option<String>,
pub webpage_id: Option<i64>,
}Expand description
Generated from:
pageBlockPhoto#1759c560 flags:# photo_id:long caption:PageCaption url:flags.0?string webpage_id:flags.0?long = PageBlockFields§
§photo_id: i64§caption: PageCaption§url: Option<String>§webpage_id: Option<i64>Trait Implementations§
Source§impl Clone for PageBlockPhoto
impl Clone for PageBlockPhoto
Source§fn clone(&self) -> PageBlockPhoto
fn clone(&self) -> PageBlockPhoto
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 PageBlockPhoto
impl Debug for PageBlockPhoto
Source§impl Deserializable for PageBlockPhoto
impl Deserializable for PageBlockPhoto
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<PageBlockPhoto> for PageBlock
impl From<PageBlockPhoto> for PageBlock
Source§fn from(x: PageBlockPhoto) -> Self
fn from(x: PageBlockPhoto) -> Self
Converts to this type from the input type.
Source§impl Identifiable for PageBlockPhoto
impl Identifiable for PageBlockPhoto
Source§const CONSTRUCTOR_ID: u32 = 0x1759c560
const CONSTRUCTOR_ID: u32 = 0x1759c560
The constructor ID as specified in the TL schema.
Source§impl PartialEq for PageBlockPhoto
impl PartialEq for PageBlockPhoto
Source§impl Serializable for PageBlockPhoto
impl Serializable for PageBlockPhoto
Source§impl TryFrom<PageBlock> for PageBlockPhoto
impl TryFrom<PageBlock> for PageBlockPhoto
impl StructuralPartialEq for PageBlockPhoto
Auto Trait Implementations§
impl Freeze for PageBlockPhoto
impl RefUnwindSafe for PageBlockPhoto
impl Send for PageBlockPhoto
impl Sync for PageBlockPhoto
impl Unpin for PageBlockPhoto
impl UnsafeUnpin for PageBlockPhoto
impl UnwindSafe for PageBlockPhoto
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