pub struct Client { /* private fields */ }
Expand description
The client handling all requests.
Creates a new client instance to be passed around.
Returns a static instance for ease of use.
Returns an Ask with the id.
Returns a Job with the id.
Returns a Poll with the id.
Returns a Story with the id.
Returns a User with the specified username.
Gets up to 200 of the latest Asks.
Gets up to 200 of the latest Stories.
Gets up to 200 of the latest Jobs.
Returns the latest item id, can be any of: Story, Ask, Job.
Returns up to 500 of the latest top item ids, can be any of: Story, Ask, Job.
Returns up to 500 of the latest item ids, can be any of: Story, Ask, Job.
Returns up to 500 of the latest best item ids, can be any of: Story, Ask, Job.
Returns User profiles that have changed.
Returns item ids that have changed, can be any of: Story, Ask, Job.
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.