[][src]Enum grammers_tl_types::enums::PageBlock

pub enum PageBlock {
    Unsupported(PageBlockUnsupported),
    Title(PageBlockTitle),
    Subtitle(PageBlockSubtitle),
    AuthorDate(PageBlockAuthorDate),
    Header(PageBlockHeader),
    Subheader(PageBlockSubheader),
    Paragraph(PageBlockParagraph),
    Preformatted(PageBlockPreformatted),
    Footer(PageBlockFooter),
    Divider(PageBlockDivider),
    Anchor(PageBlockAnchor),
    List(PageBlockList),
    Blockquote(PageBlockBlockquote),
    Pullquote(PageBlockPullquote),
    Photo(PageBlockPhoto),
    Video(PageBlockVideo),
    Cover(Box<PageBlockCover>),
    Embed(PageBlockEmbed),
    EmbedPost(PageBlockEmbedPost),
    Collage(PageBlockCollage),
    Slideshow(PageBlockSlideshow),
    Channel(PageBlockChannel),
    Audio(PageBlockAudio),
    Kicker(PageBlockKicker),
    Table(PageBlockTable),
    OrderedList(PageBlockOrderedList),
    Details(PageBlockDetails),
    RelatedArticles(PageBlockRelatedArticles),
    Map(PageBlockMap),
}

Variants

Preformatted(PageBlockPreformatted)
RelatedArticles(PageBlockRelatedArticles)

Trait Implementations

impl Clone for PageBlock[src]

impl Debug for PageBlock[src]

impl Deserializable for PageBlock[src]

impl From<PageBlockAnchor> for PageBlock[src]

impl From<PageBlockAudio> for PageBlock[src]

impl From<PageBlockAuthorDate> for PageBlock[src]

impl From<PageBlockBlockquote> for PageBlock[src]

impl From<PageBlockChannel> for PageBlock[src]

impl From<PageBlockCollage> for PageBlock[src]

impl From<PageBlockCover> for PageBlock[src]

impl From<PageBlockDetails> for PageBlock[src]

impl From<PageBlockDivider> for PageBlock[src]

impl From<PageBlockEmbed> for PageBlock[src]

impl From<PageBlockEmbedPost> for PageBlock[src]

impl From<PageBlockFooter> for PageBlock[src]

impl From<PageBlockHeader> for PageBlock[src]

impl From<PageBlockKicker> for PageBlock[src]

impl From<PageBlockList> for PageBlock[src]

impl From<PageBlockMap> for PageBlock[src]

impl From<PageBlockOrderedList> for PageBlock[src]

impl From<PageBlockParagraph> for PageBlock[src]

impl From<PageBlockPhoto> for PageBlock[src]

impl From<PageBlockPreformatted> for PageBlock[src]

impl From<PageBlockPullquote> for PageBlock[src]

impl From<PageBlockRelatedArticles> for PageBlock[src]

impl From<PageBlockSlideshow> for PageBlock[src]

impl From<PageBlockSubheader> for PageBlock[src]

impl From<PageBlockSubtitle> for PageBlock[src]

impl From<PageBlockTable> for PageBlock[src]

impl From<PageBlockTitle> for PageBlock[src]

impl From<PageBlockUnsupported> for PageBlock[src]

impl From<PageBlockVideo> for PageBlock[src]

impl PartialEq<PageBlock> for PageBlock[src]

impl Serializable for PageBlock[src]

impl StructuralPartialEq for PageBlock[src]

impl TryFrom<PageBlock> for PageBlockAnchor[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<PageBlock> for PageBlockAudio[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<PageBlock> for PageBlockEmbedPost[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<PageBlock> for PageBlockFooter[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<PageBlock> for PageBlockHeader[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<PageBlock> for PageBlockKicker[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<PageBlock> for PageBlockList[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<PageBlock> for PageBlockMap[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<PageBlock> for PageBlockOrderedList[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<PageBlock> for PageBlockParagraph[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<PageBlock> for PageBlockPhoto[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<PageBlock> for PageBlockPreformatted[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<PageBlock> for PageBlockAuthorDate[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<PageBlock> for PageBlockPullquote[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<PageBlock> for PageBlockRelatedArticles[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<PageBlock> for PageBlockSlideshow[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<PageBlock> for PageBlockSubheader[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<PageBlock> for PageBlockSubtitle[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<PageBlock> for PageBlockTable[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<PageBlock> for PageBlockTitle[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<PageBlock> for PageBlockUnsupported[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<PageBlock> for PageBlockVideo[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<PageBlock> for PageBlockBlockquote[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<PageBlock> for PageBlockChannel[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<PageBlock> for PageBlockCollage[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<PageBlock> for PageBlockCover[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<PageBlock> for PageBlockDetails[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<PageBlock> for PageBlockDivider[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

impl TryFrom<PageBlock> for PageBlockEmbed[src]

type Error = WrongVariant

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.