pub struct Friendica { /* private fields */ }
Expand description
Friendica API Client which satisfies megalodon trait.
Implementations§
Trait Implementations§
source§impl Megalodon for Friendica
impl Megalodon for Friendica
source§fn register_app<'life0, 'life1, 'async_trait>(
&'life0 self,
client_name: String,
options: &'life1 AppInputOptions
) -> Pin<Box<dyn Future<Output = Result<AppData, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn register_app<'life0, 'life1, 'async_trait>(
&'life0 self,
client_name: String,
options: &'life1 AppInputOptions
) -> Pin<Box<dyn Future<Output = Result<AppData, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Register the application to get client_id and client_secret.
source§fn create_app<'life0, 'life1, 'async_trait>(
&'life0 self,
client_name: String,
options: &'life1 AppInputOptions
) -> Pin<Box<dyn Future<Output = Result<AppData, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn create_app<'life0, 'life1, 'async_trait>(
&'life0 self,
client_name: String,
options: &'life1 AppInputOptions
) -> Pin<Box<dyn Future<Output = Result<AppData, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Create an application.
source§fn fetch_access_token<'life0, 'async_trait>(
&'life0 self,
client_id: String,
client_secret: String,
code: String,
redirect_uri: String
) -> Pin<Box<dyn Future<Output = Result<TokenData, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn fetch_access_token<'life0, 'async_trait>(
&'life0 self,
client_id: String,
client_secret: String,
code: String,
redirect_uri: String
) -> Pin<Box<dyn Future<Output = Result<TokenData, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Fetch OAuth access token.
Get an access token based client_id, client_secret and authorization_code.
source§fn refresh_access_token<'life0, 'async_trait>(
&'life0 self,
client_id: String,
client_secret: String,
refresh_token: String
) -> Pin<Box<dyn Future<Output = Result<TokenData, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn refresh_access_token<'life0, 'async_trait>(
&'life0 self,
client_id: String,
client_secret: String,
refresh_token: String
) -> Pin<Box<dyn Future<Output = Result<TokenData, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Refresh OAuth access token.
Send refresh token and get new access token.
source§fn revoke_access_token<'life0, 'async_trait>(
&'life0 self,
client_id: String,
client_secret: String,
access_token: String
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn revoke_access_token<'life0, 'async_trait>(
&'life0 self,
client_id: String,
client_secret: String,
access_token: String
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Revoke an access token.
source§fn verify_app_credentials<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Response<Application>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn verify_app_credentials<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Response<Application>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Test to make sure that the application token works.
source§fn register_account<'life0, 'async_trait>(
&'life0 self,
_username: String,
_email: String,
_password: String,
_agreement: String,
_locale: String,
_reason: Option<String>
) -> Pin<Box<dyn Future<Output = Result<Response<Token>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn register_account<'life0, 'async_trait>(
&'life0 self,
_username: String,
_email: String,
_password: String,
_agreement: String,
_locale: String,
_reason: Option<String>
) -> Pin<Box<dyn Future<Output = Result<Response<Token>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Register an user account.
source§fn verify_account_credentials<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Response<Account>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn verify_account_credentials<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Response<Account>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Test to make sure that the user token works.
source§fn update_credentials<'life0, 'life1, 'async_trait>(
&'life0 self,
_options: Option<&'life1 UpdateCredentialsInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Account>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn update_credentials<'life0, 'life1, 'async_trait>(
&'life0 self,
_options: Option<&'life1 UpdateCredentialsInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Account>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Update the user’s display and preferences.
source§fn get_account<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Account>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_account<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Account>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get an account information.
source§fn get_account_statuses<'life0, 'life1, 'async_trait>(
&'life0 self,
id: String,
options: Option<&'life1 GetAccountStatusesInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Status>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_account_statuses<'life0, 'life1, 'async_trait>(
&'life0 self,
id: String,
options: Option<&'life1 GetAccountStatusesInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Status>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get statuses of the account.
source§fn get_account_favourites<'life0, 'life1, 'async_trait>(
&'life0 self,
_id: String,
_options: Option<&'life1 GetAccountFavouritesInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Status>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_account_favourites<'life0, 'life1, 'async_trait>(
&'life0 self,
_id: String,
_options: Option<&'life1 GetAccountFavouritesInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Status>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get favourited statuses of the account.
source§fn subscribe_account<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Relationship>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn subscribe_account<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Relationship>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Receive notifications when this account posts a status.
source§fn unsubscribe_account<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Relationship>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn unsubscribe_account<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Relationship>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Stop receiving notifications when this account posts a status.
source§fn get_account_followers<'life0, 'life1, 'async_trait>(
&'life0 self,
id: String,
options: Option<&'life1 AccountFollowersInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Account>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_account_followers<'life0, 'life1, 'async_trait>(
&'life0 self,
id: String,
options: Option<&'life1 AccountFollowersInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Account>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get accounts which follow the give account.
source§fn get_account_following<'life0, 'life1, 'async_trait>(
&'life0 self,
id: String,
options: Option<&'life1 AccountFollowersInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Account>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_account_following<'life0, 'life1, 'async_trait>(
&'life0 self,
id: String,
options: Option<&'life1 AccountFollowersInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Account>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get accounts which the given acount is following.
source§fn get_account_lists<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<List>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_account_lists<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<List>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get lists of the given account.
source§fn get_identity_proofs<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<IdentityProof>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_identity_proofs<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<IdentityProof>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get proofs of the given account.
source§fn follow_account<'life0, 'life1, 'async_trait>(
&'life0 self,
id: String,
options: Option<&'life1 FollowAccountInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Relationship>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn follow_account<'life0, 'life1, 'async_trait>(
&'life0 self,
id: String,
options: Option<&'life1 FollowAccountInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Relationship>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Follow the given account. Can also be used to update whether to show reblogs or enable notifications.
source§fn unfollow_account<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Relationship>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn unfollow_account<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Relationship>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Unfollow the given account.
source§fn block_account<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Relationship>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn block_account<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Relationship>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Block the given account.
source§fn unblock_account<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Relationship>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn unblock_account<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Relationship>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Unblock the given account.
source§fn mute_account<'life0, 'async_trait>(
&'life0 self,
id: String,
notifications: bool
) -> Pin<Box<dyn Future<Output = Result<Response<Relationship>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn mute_account<'life0, 'async_trait>(
&'life0 self,
id: String,
notifications: bool
) -> Pin<Box<dyn Future<Output = Result<Response<Relationship>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Mute the given account.
source§fn unmute_account<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Relationship>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn unmute_account<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Relationship>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Unmute the given account.
source§fn pin_account<'life0, 'async_trait>(
&'life0 self,
_id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Relationship>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn pin_account<'life0, 'async_trait>(
&'life0 self,
_id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Relationship>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Add the given account to the user’s featured profiles.
source§fn unpin_account<'life0, 'async_trait>(
&'life0 self,
_id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Relationship>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn unpin_account<'life0, 'async_trait>(
&'life0 self,
_id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Relationship>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Remove the given account from the user’s featured profiles.
source§fn get_relationships<'life0, 'async_trait>(
&'life0 self,
ids: Vec<String>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Relationship>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_relationships<'life0, 'async_trait>(
&'life0 self,
ids: Vec<String>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Relationship>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Find out whether a given account is followed, blocked, muted, etc.
source§fn search_account<'life0, 'life1, 'async_trait>(
&'life0 self,
q: String,
options: Option<&'life1 SearchAccountInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Account>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn search_account<'life0, 'life1, 'async_trait>(
&'life0 self,
q: String,
options: Option<&'life1 SearchAccountInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Account>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Search for matching accounts by username or display name.
source§fn lookup_account<'life0, 'async_trait>(
&'life0 self,
_acct: String
) -> Pin<Box<dyn Future<Output = Result<Response<Account>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn lookup_account<'life0, 'async_trait>(
&'life0 self,
_acct: String
) -> Pin<Box<dyn Future<Output = Result<Response<Account>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Lookup account ID from Webfinger address.
source§fn get_bookmarks<'life0, 'life1, 'async_trait>(
&'life0 self,
options: Option<&'life1 GetBookmarksInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Status>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_bookmarks<'life0, 'life1, 'async_trait>(
&'life0 self,
options: Option<&'life1 GetBookmarksInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Status>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get statuses the user has bookmarked.
source§fn get_favourites<'life0, 'life1, 'async_trait>(
&'life0 self,
options: Option<&'life1 GetFavouritesInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Status>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_favourites<'life0, 'life1, 'async_trait>(
&'life0 self,
options: Option<&'life1 GetFavouritesInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Status>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get statuses the user has favourited.
source§fn get_mutes<'life0, 'life1, 'async_trait>(
&'life0 self,
options: Option<&'life1 GetMutesInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Account>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_mutes<'life0, 'life1, 'async_trait>(
&'life0 self,
options: Option<&'life1 GetMutesInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Account>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get accounts the user has muted.
source§fn get_blocks<'life0, 'life1, 'async_trait>(
&'life0 self,
options: Option<&'life1 GetBlocksInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Account>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_blocks<'life0, 'life1, 'async_trait>(
&'life0 self,
options: Option<&'life1 GetBlocksInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Account>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get accounts the user has blocked.
source§fn get_domain_blocks<'life0, 'life1, 'async_trait>(
&'life0 self,
_options: Option<&'life1 GetDomainBlocksInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<String>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_domain_blocks<'life0, 'life1, 'async_trait>(
&'life0 self,
_options: Option<&'life1 GetDomainBlocksInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<String>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get domains the user has blocked.
source§fn block_domain<'life0, 'async_trait>(
&'life0 self,
_domain: String
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn block_domain<'life0, 'async_trait>(
&'life0 self,
_domain: String
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Block a domain.
source§fn unblock_domain<'life0, 'async_trait>(
&'life0 self,
_domain: String
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn unblock_domain<'life0, 'async_trait>(
&'life0 self,
_domain: String
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Remove a domain block.
source§fn get_filters<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Filter>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_filters<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Filter>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get all filters.
source§fn get_filter<'life0, 'async_trait>(
&'life0 self,
_id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Filter>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_filter<'life0, 'async_trait>(
&'life0 self,
_id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Filter>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get a specified filter.
source§fn create_filter<'life0, 'life1, 'async_trait>(
&'life0 self,
_phrase: String,
_context: Vec<FilterContext>,
_options: Option<&'life1 FilterInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Filter>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn create_filter<'life0, 'life1, 'async_trait>(
&'life0 self,
_phrase: String,
_context: Vec<FilterContext>,
_options: Option<&'life1 FilterInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Filter>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Create a filter.
source§fn update_filter<'life0, 'life1, 'async_trait>(
&'life0 self,
_id: String,
_phrase: String,
_context: Vec<FilterContext>,
_options: Option<&'life1 FilterInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Filter>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn update_filter<'life0, 'life1, 'async_trait>(
&'life0 self,
_id: String,
_phrase: String,
_context: Vec<FilterContext>,
_options: Option<&'life1 FilterInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Filter>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Update a filter.
source§fn delete_filter<'life0, 'async_trait>(
&'life0 self,
_id: String
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_filter<'life0, 'async_trait>(
&'life0 self,
_id: String
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Delete a filter.
source§fn report<'life0, 'life1, 'async_trait>(
&'life0 self,
_account_id: String,
_options: Option<&'life1 ReportInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Report>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn report<'life0, 'life1, 'async_trait>(
&'life0 self,
_account_id: String,
_options: Option<&'life1 ReportInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Report>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Report an user.
source§fn get_follow_requests<'life0, 'async_trait>(
&'life0 self,
limit: Option<u32>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<FollowRequestOutput>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_follow_requests<'life0, 'async_trait>(
&'life0 self,
limit: Option<u32>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<FollowRequestOutput>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get accounts who send follow request to the user.
source§fn accept_follow_request<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Relationship>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn accept_follow_request<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Relationship>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Accept the follow request.
source§fn reject_follow_request<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Relationship>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn reject_follow_request<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Relationship>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Reject the follow request.
source§fn get_endorsements<'life0, 'life1, 'async_trait>(
&'life0 self,
options: Option<&'life1 GetEndorsementsInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Account>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_endorsements<'life0, 'life1, 'async_trait>(
&'life0 self,
options: Option<&'life1 GetEndorsementsInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Account>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get accounts that the user is currently featuring on their profile.
Get featured tags.
source§fn create_featured_tag<'life0, 'async_trait>(
&'life0 self,
_name: String
) -> Pin<Box<dyn Future<Output = Result<Response<FeaturedTag>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_featured_tag<'life0, 'async_trait>(
&'life0 self,
_name: String
) -> Pin<Box<dyn Future<Output = Result<Response<FeaturedTag>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Create a featured tag.
source§fn delete_featured_tag<'life0, 'async_trait>(
&'life0 self,
_id: String
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_featured_tag<'life0, 'async_trait>(
&'life0 self,
_id: String
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Delete a featured tag.
Shows your 10 most-used tags, with usage history for the past week.
source§fn get_preferences<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Response<Preferences>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_preferences<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Response<Preferences>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get preferences defined by the user in their account settings.
Get all followed tags.
source§fn get_suggestions<'life0, 'async_trait>(
&'life0 self,
limit: Option<u32>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Account>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_suggestions<'life0, 'async_trait>(
&'life0 self,
limit: Option<u32>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Account>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get accounts the user has had past positive interactions with, but is not yet following.
source§fn get_tag<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Tag>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_tag<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Tag>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get a hashtag and its associated information.
source§fn follow_tag<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Tag>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn follow_tag<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Tag>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Follow a hashtag. Posts containing a followed hashtag will be inserted into your home timeline.
source§fn unfollow_tag<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Tag>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn unfollow_tag<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Tag>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Unfollow a hashtag. Posts containing this hashtag will no longer be inserted into your home timeline.
source§fn post_status<'life0, 'life1, 'async_trait>(
&'life0 self,
status: String,
options: Option<&'life1 PostStatusInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<PostStatusOutput>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn post_status<'life0, 'life1, 'async_trait>(
&'life0 self,
status: String,
options: Option<&'life1 PostStatusInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<PostStatusOutput>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Post a new status.
source§fn get_status<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Status>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_status<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Status>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get information about a status.
source§fn get_status_source<'life0, 'async_trait>(
&'life0 self,
_id: String
) -> Pin<Box<dyn Future<Output = Result<Response<StatusSource>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_status_source<'life0, 'async_trait>(
&'life0 self,
_id: String
) -> Pin<Box<dyn Future<Output = Result<Response<StatusSource>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Obtain the source properties for a status so that it can be edited.
source§fn edit_status<'life0, 'life1, 'async_trait>(
&'life0 self,
id: String,
options: &'life1 EditStatusInputOptions
) -> Pin<Box<dyn Future<Output = Result<Response<Status>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn edit_status<'life0, 'life1, 'async_trait>(
&'life0 self,
id: String,
options: &'life1 EditStatusInputOptions
) -> Pin<Box<dyn Future<Output = Result<Response<Status>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Edit a status.
source§fn delete_status<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_status<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Delete a status of your own statuses.
source§fn get_status_context<'life0, 'life1, 'async_trait>(
&'life0 self,
id: String,
options: Option<&'life1 GetStatusContextInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Context>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_status_context<'life0, 'life1, 'async_trait>(
&'life0 self,
id: String,
options: Option<&'life1 GetStatusContextInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Context>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get statuses above and below this status in the thread.
source§fn get_status_reblogged_by<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Account>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_status_reblogged_by<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Account>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get accounts who boosted a given status.
source§fn get_status_favourited_by<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Account>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_status_favourited_by<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Account>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get accounts who favourited a given status.
source§fn favourite_status<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Status>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn favourite_status<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Status>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Add a status to your favourites list.
source§fn unfavourite_status<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Status>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn unfavourite_status<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Status>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Remove a status from your favourites list.
source§fn reblog_status<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Status>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn reblog_status<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Status>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Reblog a status.
source§fn unreblog_status<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Status>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn unreblog_status<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Status>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Undo a reblog of a status.
source§fn bookmark_status<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Status>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn bookmark_status<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Status>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Add a status to your bookmark list.
source§fn unbookmark_status<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Status>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn unbookmark_status<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Status>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Remove a status from your bookmark lits.
source§fn mute_status<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Status>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn mute_status<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Status>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Do not receive notifications for the thread that this status is part of. Must be a thread in which you are a participant.
source§fn unmute_status<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Status>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn unmute_status<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Status>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Start receiving notifications again for the thread that this status is part of.
source§fn pin_status<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Status>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn pin_status<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Status>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Feature one of your own public statuses at the top of your profile.
source§fn unpin_status<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Status>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn unpin_status<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Status>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Unfeature a status from the top of your profile.
fn upload_media_reader<'life0, 'life1, 'async_trait>(
&'life0 self,
reader: Box<dyn AsyncRead + Sync + Send + Unpin>,
options: Option<&'life1 UploadMediaInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<UploadMedia>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
source§fn get_media<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Attachment>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_media<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Attachment>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get an Attachment.
source§fn update_media<'life0, 'life1, 'async_trait>(
&'life0 self,
id: String,
options: Option<&'life1 UpdateMediaInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Attachment>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn update_media<'life0, 'life1, 'async_trait>(
&'life0 self,
id: String,
options: Option<&'life1 UpdateMediaInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Attachment>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Update an Attachment, before it is attached to a status and posted.
source§fn get_poll<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Poll>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_poll<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Poll>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get a poll information.
source§fn vote_poll<'life0, 'async_trait>(
&'life0 self,
_id: String,
_choices: Vec<u32>,
_status_id: Option<String>
) -> Pin<Box<dyn Future<Output = Result<Response<Poll>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn vote_poll<'life0, 'async_trait>(
&'life0 self,
_id: String,
_choices: Vec<u32>,
_status_id: Option<String>
) -> Pin<Box<dyn Future<Output = Result<Response<Poll>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Vote a poll.
source§fn get_scheduled_statuses<'life0, 'life1, 'async_trait>(
&'life0 self,
options: Option<&'life1 GetScheduledStatusesInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<ScheduledStatus>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_scheduled_statuses<'life0, 'life1, 'async_trait>(
&'life0 self,
options: Option<&'life1 GetScheduledStatusesInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<ScheduledStatus>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get statuses which scheduled to publish later.
source§fn get_scheduled_status<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<ScheduledStatus>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_scheduled_status<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<ScheduledStatus>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get a scheduled status.
source§fn schedule_status<'life0, 'async_trait>(
&'life0 self,
_id: String,
_scheduled_at: Option<DateTime<Utc>>
) -> Pin<Box<dyn Future<Output = Result<Response<ScheduledStatus>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn schedule_status<'life0, 'async_trait>(
&'life0 self,
_id: String,
_scheduled_at: Option<DateTime<Utc>>
) -> Pin<Box<dyn Future<Output = Result<Response<ScheduledStatus>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Schedule a status to publish later.
source§fn cancel_scheduled_status<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn cancel_scheduled_status<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Remove the schdule to publish.
source§fn get_public_timeline<'life0, 'life1, 'async_trait>(
&'life0 self,
options: Option<&'life1 GetPublicTimelineInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Status>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_public_timeline<'life0, 'life1, 'async_trait>(
&'life0 self,
options: Option<&'life1 GetPublicTimelineInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Status>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get statuses of public timeline.
source§fn get_local_timeline<'life0, 'life1, 'async_trait>(
&'life0 self,
options: Option<&'life1 GetLocalTimelineInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Status>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_local_timeline<'life0, 'life1, 'async_trait>(
&'life0 self,
options: Option<&'life1 GetLocalTimelineInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Status>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get statuses of local timeline.
source§fn get_tag_timeline<'life0, 'life1, 'async_trait>(
&'life0 self,
hashtag: String,
options: Option<&'life1 GetTagTimelineInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Status>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_tag_timeline<'life0, 'life1, 'async_trait>(
&'life0 self,
hashtag: String,
options: Option<&'life1 GetTagTimelineInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Status>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get statuses of tag timeline.
source§fn get_home_timeline<'life0, 'life1, 'async_trait>(
&'life0 self,
options: Option<&'life1 GetHomeTimelineInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Status>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_home_timeline<'life0, 'life1, 'async_trait>(
&'life0 self,
options: Option<&'life1 GetHomeTimelineInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Status>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get statuses of home timeline.
source§fn get_list_timeline<'life0, 'life1, 'async_trait>(
&'life0 self,
list_id: String,
options: Option<&'life1 GetListTimelineInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Status>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_list_timeline<'life0, 'life1, 'async_trait>(
&'life0 self,
list_id: String,
options: Option<&'life1 GetListTimelineInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Status>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get status of list timeline.
source§fn get_conversation_timeline<'life0, 'life1, 'async_trait>(
&'life0 self,
options: Option<&'life1 GetConversationTimelineInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Conversation>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_conversation_timeline<'life0, 'life1, 'async_trait>(
&'life0 self,
options: Option<&'life1 GetConversationTimelineInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Conversation>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get statuses of conversation timeline.
source§fn delete_conversation<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_conversation<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Delete a conversation.
source§fn read_conversation<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Conversation>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn read_conversation<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Conversation>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Mark to read the conversation.
source§fn get_lists<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<List>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_lists<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<List>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get list timelines which you created.
source§fn get_list<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<List>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_list<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<List>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get a list timeline.
source§fn create_list<'life0, 'async_trait>(
&'life0 self,
title: String
) -> Pin<Box<dyn Future<Output = Result<Response<List>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_list<'life0, 'async_trait>(
&'life0 self,
title: String
) -> Pin<Box<dyn Future<Output = Result<Response<List>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Create a new list timeline.
source§fn update_list<'life0, 'async_trait>(
&'life0 self,
id: String,
title: String
) -> Pin<Box<dyn Future<Output = Result<Response<List>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn update_list<'life0, 'async_trait>(
&'life0 self,
id: String,
title: String
) -> Pin<Box<dyn Future<Output = Result<Response<List>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Update the list timeline.
source§fn delete_list<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_list<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Delete the list timeline.
source§fn get_accounts_in_list<'life0, 'life1, 'async_trait>(
&'life0 self,
id: String,
options: Option<&'life1 GetAccountsInListInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Account>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_accounts_in_list<'life0, 'life1, 'async_trait>(
&'life0 self,
id: String,
options: Option<&'life1 GetAccountsInListInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Account>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get accounts which registered to the list.
source§fn add_accounts_to_list<'life0, 'async_trait>(
&'life0 self,
id: String,
account_ids: Vec<String>
) -> Pin<Box<dyn Future<Output = Result<Response<List>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn add_accounts_to_list<'life0, 'async_trait>(
&'life0 self,
id: String,
account_ids: Vec<String>
) -> Pin<Box<dyn Future<Output = Result<Response<List>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Register an account to the list.
source§fn delete_accounts_from_list<'life0, 'async_trait>(
&'life0 self,
id: String,
account_ids: Vec<String>
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_accounts_from_list<'life0, 'async_trait>(
&'life0 self,
id: String,
account_ids: Vec<String>
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Remove the account from the list.
source§fn get_markers<'life0, 'async_trait>(
&'life0 self,
_timeline: Vec<String>
) -> Pin<Box<dyn Future<Output = Result<Response<Marker>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_markers<'life0, 'async_trait>(
&'life0 self,
_timeline: Vec<String>
) -> Pin<Box<dyn Future<Output = Result<Response<Marker>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get your position in timelines.
source§fn save_markers<'life0, 'life1, 'async_trait>(
&'life0 self,
_options: Option<&'life1 SaveMarkersInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Marker>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn save_markers<'life0, 'life1, 'async_trait>(
&'life0 self,
_options: Option<&'life1 SaveMarkersInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Marker>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Save your position in timelines.
source§fn get_notifications<'life0, 'life1, 'async_trait>(
&'life0 self,
options: Option<&'life1 GetNotificationsInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Notification>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_notifications<'life0, 'life1, 'async_trait>(
&'life0 self,
options: Option<&'life1 GetNotificationsInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Notification>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Notifications concerning the user.
source§fn get_notification<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Notification>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_notification<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Notification>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get a notification information.
source§fn dismiss_notifications<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn dismiss_notifications<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Clear all notifications from the server.
source§fn dismiss_notification<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn dismiss_notification<'life0, 'async_trait>(
&'life0 self,
id: String
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Clear a notification from the server.
source§fn read_notifications<'life0, 'life1, 'async_trait>(
&'life0 self,
_options: &'life1 ReadNotificationsInputOptions
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn read_notifications<'life0, 'life1, 'async_trait>(
&'life0 self,
_options: &'life1 ReadNotificationsInputOptions
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Mark as read all unread notifications.
source§fn subscribe_push_notification<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
subscription: &'life1 SubscribePushNotificationInputSubscription,
data: Option<&'life2 SubscribePushNotificationInputData>
) -> Pin<Box<dyn Future<Output = Result<Response<PushSubscription>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn subscribe_push_notification<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
subscription: &'life1 SubscribePushNotificationInputSubscription,
data: Option<&'life2 SubscribePushNotificationInputData>
) -> Pin<Box<dyn Future<Output = Result<Response<PushSubscription>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Add a Web Push API subscription to receive notifications.
source§fn get_push_subscription<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Response<PushSubscription>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_push_subscription<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Response<PushSubscription>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get the PushSubscription currently associated with this access token.
source§fn update_push_subscription<'life0, 'life1, 'async_trait>(
&'life0 self,
data: Option<&'life1 SubscribePushNotificationInputData>
) -> Pin<Box<dyn Future<Output = Result<Response<PushSubscription>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn update_push_subscription<'life0, 'life1, 'async_trait>(
&'life0 self,
data: Option<&'life1 SubscribePushNotificationInputData>
) -> Pin<Box<dyn Future<Output = Result<Response<PushSubscription>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Updates the current push subscription.
source§fn delete_push_subscription<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_push_subscription<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Removes the current Web Push API subscription.
source§fn search<'life0, 'life1, 'async_trait>(
&'life0 self,
q: String,
options: Option<&'life1 SearchInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Results>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn search<'life0, 'life1, 'async_trait>(
&'life0 self,
q: String,
options: Option<&'life1 SearchInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Results>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Search for content in accounts, statuses and hashtags.
source§fn get_instance<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Response<Instance>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_instance<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Response<Instance>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get information about the server.
source§fn get_instance_peers<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<String>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_instance_peers<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<String>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get domains that this instance is aware of.
source§fn get_instance_activity<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Activity>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_instance_activity<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Activity>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get instance activity over the last 3 months, binned weekly.
source§fn get_instance_trends<'life0, 'async_trait>(
&'life0 self,
limit: Option<u32>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Tag>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_instance_trends<'life0, 'async_trait>(
&'life0 self,
limit: Option<u32>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Tag>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Tags that are being used more frequently within the past week.
source§fn get_instance_directory<'life0, 'life1, 'async_trait>(
&'life0 self,
options: Option<&'life1 GetInstanceDirectoryInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Account>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_instance_directory<'life0, 'life1, 'async_trait>(
&'life0 self,
options: Option<&'life1 GetInstanceDirectoryInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Account>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
List accounts visible in the directory.
source§fn get_instance_custom_emojis<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Emoji>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_instance_custom_emojis<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Emoji>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Returns custom emojis that are available on the server.
source§fn get_instance_announcements<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Announcement>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_instance_announcements<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Announcement>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get all currently active announcements set by admins.
source§fn dismiss_instance_announcement<'life0, 'async_trait>(
&'life0 self,
_id: String
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn dismiss_instance_announcement<'life0, 'async_trait>(
&'life0 self,
_id: String
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Dismiss an announcement
source§fn add_reaction_to_announcement<'life0, 'async_trait>(
&'life0 self,
_id: String,
_name: String
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn add_reaction_to_announcement<'life0, 'async_trait>(
&'life0 self,
_id: String,
_name: String
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Add a reaction to an announcement.
source§fn remove_reaction_from_announcement<'life0, 'async_trait>(
&'life0 self,
_id: String,
_name: String
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn remove_reaction_from_announcement<'life0, 'async_trait>(
&'life0 self,
_id: String,
_name: String
) -> Pin<Box<dyn Future<Output = Result<Response<()>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Remove a reaction from an announcement.
source§fn create_emoji_reaction<'life0, 'async_trait>(
&'life0 self,
_id: String,
_emoji: String
) -> Pin<Box<dyn Future<Output = Result<Response<Status>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_emoji_reaction<'life0, 'async_trait>(
&'life0 self,
_id: String,
_emoji: String
) -> Pin<Box<dyn Future<Output = Result<Response<Status>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Add an emoji reaction to the status.
source§fn delete_emoji_reaction<'life0, 'async_trait>(
&'life0 self,
_id: String,
_emoji: String
) -> Pin<Box<dyn Future<Output = Result<Response<Status>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_emoji_reaction<'life0, 'async_trait>(
&'life0 self,
_id: String,
_emoji: String
) -> Pin<Box<dyn Future<Output = Result<Response<Status>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Remove the emoji reaction from the status.
source§fn get_emoji_reactions<'life0, 'async_trait>(
&'life0 self,
_id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Reaction>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_emoji_reactions<'life0, 'async_trait>(
&'life0 self,
_id: String
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Reaction>>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get emoji reactions of the status.
source§fn get_emoji_reaction<'life0, 'async_trait>(
&'life0 self,
_id: String,
_emoji: String
) -> Pin<Box<dyn Future<Output = Result<Response<Reaction>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_emoji_reaction<'life0, 'async_trait>(
&'life0 self,
_id: String,
_emoji: String
) -> Pin<Box<dyn Future<Output = Result<Response<Reaction>, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get emoji reaction of the status.
source§fn streaming_url<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = String> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn streaming_url<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = String> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get the base URL for streaming endpoints
source§fn user_streaming<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Box<dyn Streaming + Send + Sync>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn user_streaming<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Box<dyn Streaming + Send + Sync>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get user streaming object.
source§fn public_streaming<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Box<dyn Streaming + Send + Sync>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn public_streaming<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Box<dyn Streaming + Send + Sync>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get public streaming object.
source§fn local_streaming<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Box<dyn Streaming + Send + Sync>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn local_streaming<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Box<dyn Streaming + Send + Sync>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get local streaming object.
source§fn direct_streaming<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Box<dyn Streaming + Send + Sync>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn direct_streaming<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Box<dyn Streaming + Send + Sync>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get direct streaming object.
source§fn tag_streaming<'life0, 'async_trait>(
&'life0 self,
_tag: String
) -> Pin<Box<dyn Future<Output = Box<dyn Streaming + Send + Sync>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn tag_streaming<'life0, 'async_trait>(
&'life0 self,
_tag: String
) -> Pin<Box<dyn Future<Output = Box<dyn Streaming + Send + Sync>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get tag streaming object.
source§fn list_streaming<'life0, 'async_trait>(
&'life0 self,
_list_id: String
) -> Pin<Box<dyn Future<Output = Box<dyn Streaming + Send + Sync>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_streaming<'life0, 'async_trait>(
&'life0 self,
_list_id: String
) -> Pin<Box<dyn Future<Output = Box<dyn Streaming + Send + Sync>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get list streaming object.
source§fn upload_media<'life0, 'life1, 'async_trait>(
&'life0 self,
file_path: String,
options: Option<&'life1 UploadMediaInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<UploadMedia>, Error>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn upload_media<'life0, 'life1, 'async_trait>(
&'life0 self,
file_path: String,
options: Option<&'life1 UploadMediaInputOptions>
) -> Pin<Box<dyn Future<Output = Result<Response<UploadMedia>, Error>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Creates an attachment to be used with a new status.
Auto Trait Implementations§
impl Freeze for Friendica
impl RefUnwindSafe for Friendica
impl Send for Friendica
impl Sync for Friendica
impl Unpin for Friendica
impl UnwindSafe for Friendica
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more