pub struct PageBlockVideo {
pub autoplay: bool,
pub loop: bool,
pub video_id: i64,
pub caption: PageCaption,
}Expand description
Generated from:
pageBlockVideo#7c8fe7b6 flags:# autoplay:flags.0?true loop:flags.1?true video_id:long caption:PageCaption = PageBlockFields§
§autoplay: bool§loop: bool§video_id: i64§caption: PageCaptionTrait Implementations§
Source§impl Clone for PageBlockVideo
impl Clone for PageBlockVideo
Source§fn clone(&self) -> PageBlockVideo
fn clone(&self) -> PageBlockVideo
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 PageBlockVideo
impl Debug for PageBlockVideo
Source§impl Deserializable for PageBlockVideo
impl Deserializable for PageBlockVideo
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<PageBlockVideo> for PageBlock
impl From<PageBlockVideo> for PageBlock
Source§fn from(x: PageBlockVideo) -> Self
fn from(x: PageBlockVideo) -> Self
Converts to this type from the input type.
Source§impl Identifiable for PageBlockVideo
impl Identifiable for PageBlockVideo
Source§const CONSTRUCTOR_ID: u32 = 0x7c8fe7b6
const CONSTRUCTOR_ID: u32 = 0x7c8fe7b6
The constructor ID as specified in the TL schema.
Source§impl PartialEq for PageBlockVideo
impl PartialEq for PageBlockVideo
Source§impl Serializable for PageBlockVideo
impl Serializable for PageBlockVideo
Source§impl TryFrom<PageBlock> for PageBlockVideo
impl TryFrom<PageBlock> for PageBlockVideo
impl StructuralPartialEq for PageBlockVideo
Auto Trait Implementations§
impl Freeze for PageBlockVideo
impl RefUnwindSafe for PageBlockVideo
impl Send for PageBlockVideo
impl Sync for PageBlockVideo
impl Unpin for PageBlockVideo
impl UnsafeUnpin for PageBlockVideo
impl UnwindSafe for PageBlockVideo
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