Module mastodon_async::prelude

source ·
Expand description

Automatically import the things you need

Re-exports§

Structs§

  • A struct representing an Account.
  • Wrapper type for a account ID string
  • Application details.
  • A struct representing a media attachment.
  • Wrapper type for a attachment ID string
  • A card of a status.
  • A context of a status returning a list of statuses it replied to and statuses replied to it.
  • Struct representing an emoji within text.
  • An empty JSON object.
  • Represents a user-defined filter for determining which statuses should not be shown to the user.
  • Wrapper type for a filter ID string
  • A struct containing info of an instance.
  • Used for ser/de of list resources
  • Wrapper type for a list ID string
  • Represents a mention used in a status
  • Wrapper type for a mention ID string
  • A struct containing info about a notification.
  • Wrapper type for a notification ID string
  • A struct containing information about a relationship with another account.
  • Wrapper type for a relationship ID string
  • A struct containing info about a report.
  • Wrapper type for a report ID string
  • A struct containing results of a search, with Tag objects in the hashtags field
  • An extra object given from verify_credentials giving defaults about a user
  • Statistics about the Mastodon instance.
  • A status from the instance.
  • Wrapper type for a status ID string
  • Object containing url for streaming api.
  • Represents a new Push subscription
  • Wrapper type for a subscription ID string

Enums§

  • Events that come from the /streaming/user API call
  • Represents the various types of Filter contexts
  • The type of media attachment.
  • The visibility of a status.