[][src]Trait elefren::MastodonUnauthenticated

pub trait MastodonUnauthenticated<H: HttpSend> {
    fn get_status(&self, id: &str) -> Result<Status> { ... }
fn get_context(&self, id: &str) -> Result<Context> { ... }
fn get_card(&self, id: &str) -> Result<Card> { ... }
fn reblogged_by(&self, id: &str) -> Result<Page<Account, H>> { ... }
fn favourited_by(&self, id: &str) -> Result<Page<Account, H>> { ... } }

Trait that represents clients that can make unauthenticated calls to a mastodon instance

Provided methods

fn get_status(&self, id: &str) -> Result<Status>

GET /api/v1/statuses/:id

fn get_context(&self, id: &str) -> Result<Context>

GET /api/v1/statuses/:id/context

fn get_card(&self, id: &str) -> Result<Card>

GET /api/v1/statuses/:id/card

fn reblogged_by(&self, id: &str) -> Result<Page<Account, H>>

GET /api/v1/statuses/:id/reblogged_by

fn favourited_by(&self, id: &str) -> Result<Page<Account, H>>

GET /api/v1/statuses/:id/favourited_by

Loading content...

Implementors

impl<H: HttpSend> MastodonUnauthenticated<H> for MastodonUnauth<H>[src]

fn get_status(&self, id: &str) -> Result<Status>[src]

GET /api/v1/statuses/:id

fn get_context(&self, id: &str) -> Result<Context>[src]

GET /api/v1/statuses/:id/context

fn get_card(&self, id: &str) -> Result<Card>[src]

GET /api/v1/statuses/:id/card

fn reblogged_by(&self, id: &str) -> Result<Page<Account, H>>[src]

fn favourited_by(&self, id: &str) -> Result<Page<Account, H>>[src]

Loading content...