Enum link_preview::twitter::TwitterMetaTag[][src]

pub enum TwitterMetaTag {
    Title,
    Card,
    Site,
    Creator,
    Image,
    Description,
}
Expand description

Twittet meta tags.

Variants

Title

Title for the Twitter card

Card

The card type, which will be one of “summary”, “summary_large_image”, “app”, or “player”.

Site

@username for the website used in the card footer. This tag is not required, make sure the Option::None variant is handled.

Creator

@username for the content creator / author. This tag is not required, make sure the Option::None variant is handled.

Image

Twitter Card Image

Description

Card description

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.