Struct hacker_news::client::html_client::Client [−][src]
pub struct Client { /* fields omitted */ }
Implementations
pub fn submit(
&self,
title: String,
url: Option<String>,
text: Option<String>
) -> Result<(), Box<dyn Error>>
Retrieve a page of HackerNews Listings, such as that delivered from:
https://news.ycombinator.com/
https://news.ycombinator.com/newest
https://news.ycombinator.com/front
https://news.ycombinator.com/newcomments
https://news.ycombinator.com/ask
https://news.ycombinator.com/show
https://news.ycombinator.com/jobs