Struct rucola::Rucola[][src]

pub struct Rucola { /* fields omitted */ }

Implementations

impl Rucola[src]

pub async fn new(
    username: &str,
    password: &str,
    client_id: &str,
    secret_token: &str,
    user_agent: &str
) -> Result<Self>
[src]

pub async fn get(&self, url: &str) -> Result<Response>[src]

pub async fn get_json<T: DeserializeOwned>(&self, url: &str) -> Result<T>[src]

pub async fn username_available(&self, username: &str) -> Result<bool>[src]

pub async fn me(&self) -> Result<Account>[src]

pub async fn me_karma(&self) -> Result<Thing>[src]

pub async fn me_prefs(&self) -> Result<Prefs>[src]

pub async fn me_trophies(&self) -> Result<Thing>[src]

pub async fn subreddits_new(&self) -> Result<Thing>[src]

pub async fn subreddits_gold(&self) -> Result<Thing>[src]

pub async fn subreddits_default(&self) -> Result<Thing>[src]

pub async fn subreddits_mine_subscriber(&self) -> Result<Thing>[src]

pub async fn subreddits_mine_contributor(&self) -> Result<Thing>[src]

pub async fn subreddits_mine_moderator(&self) -> Result<Thing>[src]

pub async fn about_moderators(&self, subreddit: &str) -> Result<Thing>[src]

pub async fn wiki_pages(&self, subreddit: &str) -> Result<Thing>[src]

Trait Implementations

impl Debug for Rucola[src]

Auto Trait Implementations

impl !RefUnwindSafe for Rucola

impl Send for Rucola

impl Sync for Rucola

impl Unpin for Rucola

impl !UnwindSafe for Rucola

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.