Enum rust_tdlib::types::PageBlock [−][src]
pub enum PageBlock {}Show variants
Anchor(PageBlockAnchor), Animation(PageBlockAnimation), Audio(PageBlockAudio), AuthorDate(PageBlockAuthorDate), BlockQuote(PageBlockBlockQuote), ChatLink(PageBlockChatLink), Collage(PageBlockCollage), Cover(PageBlockCover), Details(PageBlockDetails), Divider(PageBlockDivider), Embedded(PageBlockEmbedded), EmbeddedPost(PageBlockEmbeddedPost), Footer(PageBlockFooter), Header(PageBlockHeader), Kicker(PageBlockKicker), List(PageBlockList), Map(PageBlockMap), Paragraph(PageBlockParagraph), Photo(PageBlockPhoto), Preformatted(PageBlockPreformatted), PullQuote(PageBlockPullQuote), RelatedArticles(PageBlockRelatedArticles), Slideshow(PageBlockSlideshow), Subheader(PageBlockSubheader), Subtitle(PageBlockSubtitle), Table(PageBlockTable), Title(PageBlockTitle), Video(PageBlockVideo), VoiceNote(PageBlockVoiceNote), // some variants omitted
Expand description
Describes a block of an instant view web page
Variants
Anchor(PageBlockAnchor)
Expand description
An invisible anchor on a page, which can be used in a URL to open the page from the specified anchor
Animation(PageBlockAnimation)
Expand description
An animation
Audio(PageBlockAudio)
Expand description
An audio file
AuthorDate(PageBlockAuthorDate)
Expand description
The author and publishing date of a page
BlockQuote(PageBlockBlockQuote)
Expand description
A block quote
ChatLink(PageBlockChatLink)
Expand description
A link to a chat
Collage(PageBlockCollage)
Expand description
A collage
Cover(PageBlockCover)
Expand description
A page cover
Details(PageBlockDetails)
Expand description
A collapsible block
Divider(PageBlockDivider)
Expand description
An empty block separating a page
Embedded(PageBlockEmbedded)
Expand description
An embedded web page
EmbeddedPost(PageBlockEmbeddedPost)
Expand description
An embedded post
Expand description
The footer of a page
Header(PageBlockHeader)
Expand description
A header
Kicker(PageBlockKicker)
Expand description
A kicker
List(PageBlockList)
Expand description
A list of data blocks
Map(PageBlockMap)
Expand description
A map
Paragraph(PageBlockParagraph)
Expand description
A text paragraph
Photo(PageBlockPhoto)
Expand description
A photo
Preformatted(PageBlockPreformatted)
Expand description
A preformatted text paragraph
PullQuote(PageBlockPullQuote)
Expand description
A pull quote
RelatedArticles(PageBlockRelatedArticles)
Expand description
Related articles
Slideshow(PageBlockSlideshow)
Expand description
A slideshow
Subheader(PageBlockSubheader)
Expand description
A subheader
Subtitle(PageBlockSubtitle)
Expand description
The subtitle of a page
Table(PageBlockTable)
Expand description
A table
Title(PageBlockTitle)
Expand description
The title of a page
Video(PageBlockVideo)
Expand description
A video
VoiceNote(PageBlockVoiceNote)
Expand description
A voice note
Implementations
Trait Implementations
impl<'de> Deserialize<'de> for PageBlock
[src]
impl<'de> Deserialize<'de> for PageBlock
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for PageBlock
impl Send for PageBlock
impl Sync for PageBlock
impl Unpin for PageBlock
impl UnwindSafe for PageBlock
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,