Struct jsonfeed::Item [] [src]

pub struct Item {
    pub id: String,
    pub url: Option<String>,
    pub external_url: Option<String>,
    pub title: Option<String>,
    pub content: Content,
    pub summary: Option<String>,
    pub image: Option<String>,
    pub banner_image: Option<String>,
    pub date_published: Option<String>,
    pub date_modified: Option<String>,
    pub author: Option<Author>,
    pub tags: Option<Vec<String>>,
    pub attachments: Option<Vec<Attachment>>,
}

Represents an item in a feed

Fields

Methods

impl Item
[src]

Trait Implementations

impl Debug for Item
[src]

Formats the value using the given formatter.

impl Clone for Item
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Item
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Default for Item
[src]

Returns the "default value" for a type. Read more

impl Serialize for Item
[src]

Serialize this value into the given Serde serializer. Read more

impl<'de> Deserialize<'de> for Item
[src]

Deserialize this value from the given Serde deserializer. Read more