Crate open_graph

Source
Expand description

§Example

Enums§

ObjectType
The type of object in the graph this refers to.

Traits§

Object
OpenGraph Object

Functions§

create_description
A brief description of the content, usually between 2 and 4 sentences.
create_image
The URL of the image that appears when someone shares the content.
create_image_type
MIME type of the image. One of image/jpeg, image/gif or image/png
create_image_url
Equivalent to og:image.
create_secure_image_url
https:// URL for the image.
create_title
The title of your article without any branding such as your site name.
create_url
The canonical URL for your page.