pub trait Megalodon {
Show 133 methods
// Required methods
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 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 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 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 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 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 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 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 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 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_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_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 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 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 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_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_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_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 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 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 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 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 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 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 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 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 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 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 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 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_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_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_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_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 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 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 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_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 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 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 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 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 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 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 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 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_featured_tags<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<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;
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 get_suggested_tags<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Tag>>, 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;
fn get_followed_tags<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<Tag>>, 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;
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 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 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 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 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_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 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 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 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_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_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 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 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 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 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 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 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 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 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 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 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 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;
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 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 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 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 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_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 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 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 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_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_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_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_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_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 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 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 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_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 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 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 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 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 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 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 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 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 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_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 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_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 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 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 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 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 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 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 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_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_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_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_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_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_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 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 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 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 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 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 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_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 streaming_url<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = String> + 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;
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 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 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 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 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;
// Provided method
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 { ... }
}
Expand description
Megalodon API interface
Required Methods§
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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,
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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
sourcefn 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.
sourcefn 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.
sourcefn 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.
sourcefn 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.
Provided Methods§
sourcefn 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.