pub enum PageBlock {
Show 29 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)
Tuple Fields
An invisible anchor on a page, which can be used in a URL to open the page from the specified anchor
Animation(PageBlockAnimation)
Tuple Fields
An animation
Audio(PageBlockAudio)
Tuple Fields
An audio file
AuthorDate(PageBlockAuthorDate)
Tuple Fields
The author and publishing date of a page
BlockQuote(PageBlockBlockQuote)
Tuple Fields
A block quote
ChatLink(PageBlockChatLink)
Tuple Fields
A link to a chat
Collage(PageBlockCollage)
Tuple Fields
A collage
Cover(PageBlockCover)
Tuple Fields
A page cover
Details(PageBlockDetails)
Tuple Fields
A collapsible block
Divider(PageBlockDivider)
Tuple Fields
An empty block separating a page
Embedded(PageBlockEmbedded)
Tuple Fields
An embedded web page
EmbeddedPost(PageBlockEmbeddedPost)
Tuple Fields
An embedded post
Footer(PageBlockFooter)
The footer of a page
Header(PageBlockHeader)
Tuple Fields
A header
Kicker(PageBlockKicker)
Tuple Fields
A kicker
List(PageBlockList)
Tuple Fields
A list of data blocks
Map(PageBlockMap)
Tuple Fields
0: PageBlockMap
A map
Paragraph(PageBlockParagraph)
Tuple Fields
A text paragraph
Photo(PageBlockPhoto)
Tuple Fields
A photo
Preformatted(PageBlockPreformatted)
Tuple Fields
A preformatted text paragraph
PullQuote(PageBlockPullQuote)
Tuple Fields
A pull quote
RelatedArticles(PageBlockRelatedArticles)
Tuple Fields
Related articles
Slideshow(PageBlockSlideshow)
Tuple Fields
A slideshow
Subheader(PageBlockSubheader)
Tuple Fields
A subheader
Subtitle(PageBlockSubtitle)
Tuple Fields
The subtitle of a page
Table(PageBlockTable)
Tuple Fields
A table
Title(PageBlockTitle)
Tuple Fields
The title of a page
Video(PageBlockVideo)
Tuple Fields
A video
VoiceNote(PageBlockVoiceNote)
Tuple Fields
A voice note
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PageBlock
impl UnwindSafe for PageBlock
Blanket Implementations
Mutably borrows from an owned value. Read more