Struct rucola::Rucola [−][src]
Implementations
impl Rucola
[src]
pub async fn new(
username: &str,
password: &str,
client_id: &str,
secret_token: &str,
user_agent: &str
) -> Result<Self>
[src]
username: &str,
password: &str,
client_id: &str,
secret_token: &str,
user_agent: &str
) -> Result<Self>
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_popular(&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
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,