[][src]Struct instapaper::Client

pub struct Client {
    pub consumer_key: String,
    pub consumer_secret: String,
    pub oauth_key: Option<String>,
    pub oauth_secret: Option<String>,
}

The client instance to perform actions on. The consumer_key and consumer_secret are obtained through Instapaper's API documentation. The oauth_key and oauth_secret are obtained with the user's username, password, consumer_key, and consumer_secret by calling authenticate() on a Client.

Fields

Methods

impl Client
[src]

Verifies credentials, mostly used for testing.

Move a Bookmark to the archive folder.

List all bookmarks and highlights in a folder. You'll need to obtain the folder id through either the API or the URL on Instapaper. unread and archive work as strings.

List all bookmarks and highlights in the unread folder.

Add a bookmark. Pass a blank title and description if you want Instapaper's default.

Trait Implementations

impl Clone for Client
[src]

Performs copy-assignment from source. Read more

impl Default for Client
[src]

impl Debug for Client
[src]

Auto Trait Implementations

impl Send for Client

impl Sync for Client

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Erased for T