Struct helianto::DocumentMetadata
[−]
[src]
pub struct DocumentMetadata { pub url: String, pub title: String, pub language: Option<String>, pub modified: Option<DateTime>, pub created: Option<DateTime>, pub keywords: Vec<String>, }
Fields
url: String
title: String
language: Option<String>
modified: Option<DateTime>
created: Option<DateTime>
keywords: Vec<String>
Methods
impl DocumentMetadata
[src]
Trait Implementations
impl Debug for DocumentMetadata
[src]
impl Clone for DocumentMetadata
[src]
fn clone(&self) -> DocumentMetadata
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Encodable for DocumentMetadata
[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
Serialize a value using an Encoder
.
impl Decodable for DocumentMetadata
[src]
fn decode<__D: Decoder>(
__arg_0: &mut __D
) -> Result<DocumentMetadata, __D::Error>
__arg_0: &mut __D
) -> Result<DocumentMetadata, __D::Error>
Deserialize a value using a Decoder
.
impl Default for DocumentMetadata
[src]
fn default() -> DocumentMetadata
Returns the "default value" for a type. Read more