Struct mammut::Mastodon [] [src]

pub struct Mastodon {
    pub data: Data,
    // some fields omitted
}

Your mastodon application client, handles all requests to and from Mastodon.

Fields

Raw data about your mastodon instance.

Methods

impl Mastodon
[src]

[src]

Creates a mastodon instance from the data struct.

[src]

Equivalent to /api/v1/

Errors

If access_token is not set.

[src]

Equivalent to /api/v1/

Errors

If access_token is not set.

[src]

Equivalent to /api/v1/

Errors

If access_token is not set.

[src]

Equivalent to /api/v1/

Errors

If access_token is not set.

[src]

Equivalent to /api/v1/

Errors

If access_token is not set.

[src]

Equivalent to /api/v1/

Errors

If access_token is not set.

[src]

Equivalent to /api/v1/

Errors

If access_token is not set.

[src]

Equivalent to /api/v1/

Errors

If access_token is not set.

[src]

Equivalent to /api/v1/

Errors

If access_token is not set.

[src]

Equivalent to /api/v1/

Errors

If access_token is not set.

[src]

Equivalent to /api/v1/

Errors

If access_token is not set.

[src]

Equivalent to /api/v1/

Errors

If access_token is not set.

[src]

Equivalent to /api/v1/

Errors

If access_token is not set.

[src]

Equivalent to /api/v1/

Errors

If access_token is not set.

[src]

Equivalent to /api/v1/

Errors

If access_token is not set.

[src]

Equivalent to /api/v1/

Errors

If access_token is not set.

[src]

Equivalent to /api/v1/

Errors

If access_token is not set.

[src]

Equivalent to /api/v1/

Errors

If access_token is not set.

[src]

Equivalent to /api/v1/

Errors

If access_token is not set.

[src]

Equivalent to /api/v1/

Errors

If access_token is not set.

[src]

Equivalent to /api/v1/

Errors

If access_token is not set.

[src]

Equivalent to /api/v1/

Errors

If access_token is not set.

[src]

Equivalent to /api/v1/

Errors

If access_token is not set.

[src]

Equivalent to /api/v1/

Errors

If access_token is not set.

[src]

Equivalent to /api/v1/

Errors

If access_token is not set.

[src]

Equivalent to /api/v1/

Errors

If access_token is not set.

[src]

Equivalent to /api/v1/

Errors

If access_token is not set.

[src]

Equivalent to /api/v1/

Errors

If access_token is not set.

[src]

Equivalent to /api/v1/

Errors

If access_token is not set.

[src]

Equivalent to /api/v1/

Errors

If access_token is not set.

[src]

Equivalent to /api/v1/

Errors

If access_token is not set.

[src]

Equivalent to /api/v1/

Errors

If access_token is not set.

[src]

Equivalent to /api/v1/

Errors

If access_token is not set.

[src]

Equivalent to /api/v1/

Errors

If access_token is not set.

[src]

Equivalent to /api/v1/

Errors

If access_token is not set.

[src]

Equivalent to /api/v1/

Errors

If access_token is not set.

[src]

Equivalent to /api/v1/

Errors

If access_token is not set.

[src]

Equivalent to /api/v1/

Errors

If access_token is not set.

[src]

Equivalent to /api/v1/

Errors

If access_token is not set.

[src]

Equivalent to /api/v1/

Errors

If access_token is not set.

[src]

[src]

Post a new status to the account.

[src]

Get the federated timeline for the instance.

[src]

Get timeline filtered by a hashtag(eg. #coffee) either locally or federated.

[src]

Get statuses of a single account by id. Optionally only with pictures and or excluding replies.

[src]

Returns the client account's relationship to a list of other accounts. Such as whether they follow them or vice versa.

[src]

Search for accounts by their name. Will lookup an account remotely if the search term is in the username@domain format and not yet in the database.

Trait Implementations

impl Clone for Mastodon
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Mastodon
[src]

[src]

Formats the value using the given formatter.

impl Deref for Mastodon
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.