pub struct ReadableMetadata {
pub canonical_url: Option<String>,
pub language: Option<String>,
pub description: Option<String>,
pub open_graph_title: Option<String>,
pub open_graph_description: Option<String>,
}Expand description
Readable page metadata.
Fields§
§canonical_url: Option<String>Canonical URL when known.
language: Option<String>Declared document language when known.
description: Option<String>Description metadata.
open_graph_title: Option<String>OpenGraph title metadata.
open_graph_description: Option<String>OpenGraph description metadata.
Trait Implementations§
Source§impl Clone for ReadableMetadata
impl Clone for ReadableMetadata
Source§fn clone(&self) -> ReadableMetadata
fn clone(&self) -> ReadableMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReadableMetadata
impl Debug for ReadableMetadata
Source§impl Default for ReadableMetadata
impl Default for ReadableMetadata
Source§fn default() -> ReadableMetadata
fn default() -> ReadableMetadata
Returns the “default value” for a type. Read more
Source§impl PartialEq for ReadableMetadata
impl PartialEq for ReadableMetadata
Source§fn eq(&self, other: &ReadableMetadata) -> bool
fn eq(&self, other: &ReadableMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ReadableMetadata
impl StructuralPartialEq for ReadableMetadata
Auto Trait Implementations§
impl Freeze for ReadableMetadata
impl RefUnwindSafe for ReadableMetadata
impl Send for ReadableMetadata
impl Sync for ReadableMetadata
impl Unpin for ReadableMetadata
impl UnsafeUnpin for ReadableMetadata
impl UnwindSafe for ReadableMetadata
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