Struct hn::Item [] [src]

pub struct Item { /* fields omitted */ }

Stores the metadata about a single news item

Methods

impl Item
[src]

Return the title of the news item

Return the URL of the news item.

This is the link to the external (non-HN) website if it has one, or a link to the HN comment section for stories without external links.

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