Struct hn::Item [] [src]

pub struct Item { /* fields omitted */ }

Stores the metadata about a single news item

Methods

impl Item
[src]

[src]

Return the title of the news item

[src]

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]

[src]

Formats the value using the given formatter. Read more

impl Clone for Item
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Item

impl Sync for Item