Struct telescope::templates::tags::Tags [−][src]
pub struct Tags {
pub title: String,
pub og_type: String,
pub url: String,
pub description: String,
pub image: String,
pub site_name: String,
}
Expand description
The Open Graph Protocol tags.
Fields
title: String
The page title.
og_type: String
The OpenGraph page type. This will almost always be “website”.
url: String
The URL of the page.
description: String
The page description.
image: String
An image relevant to the page.
site_name: String
The site name. This will almost always be “Telescope”.
Implementations
Fill the url using the one in the HTTP request.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Tags
impl UnwindSafe for Tags
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more