pub struct PageMetadata {
pub title: Option<String>,
pub title_template: Option<String>,
pub description: Option<String>,
pub canonical_url: Option<String>,
pub open_graph: Option<OpenGraphData>,
pub twitter_card: Option<Value>,
pub alternates: Option<Vec<AlternateLink>>,
pub structured_data: Option<Vec<Value>>,
}Fields§
§title: Option<String>§title_template: Option<String>§description: Option<String>§canonical_url: Option<String>§open_graph: Option<OpenGraphData>§twitter_card: Option<Value>§alternates: Option<Vec<AlternateLink>>§structured_data: Option<Vec<Value>>Trait Implementations§
Source§impl Clone for PageMetadata
impl Clone for PageMetadata
Source§impl Debug for PageMetadata
impl Debug for PageMetadata
Source§impl<'de> Deserialize<'de> for PageMetadata
impl<'de> Deserialize<'de> for PageMetadata
Source§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 Forget for PageMetadata
impl Freeze for PageMetadata
impl Move for PageMetadata
impl RefUnwindSafe for PageMetadata
impl Send for PageMetadata
impl Sync for PageMetadata
impl Unpin for PageMetadata
impl UnsafeUnpin for PageMetadata
impl UnwindSafe for PageMetadata
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more