pub struct Service<T>{ /* private fields */ }
Implementations§
source§impl<T> Service<T>
impl<T> Service<T>
sourcepub async fn get_blocks(
&self,
params: Parameters
) -> Result<Output, Error<Error>>
pub async fn get_blocks( &self, params: Parameters ) -> Result<Output, Error<Error>>
Enumerates which accounts the requesting account is currently blocking. Requires auth.
sourcepub async fn get_followers(
&self,
params: Parameters
) -> Result<Output, Error<Error>>
pub async fn get_followers( &self, params: Parameters ) -> Result<Output, Error<Error>>
Enumerates accounts which follow a specified account (actor).
sourcepub async fn get_follows(
&self,
params: Parameters
) -> Result<Output, Error<Error>>
pub async fn get_follows( &self, params: Parameters ) -> Result<Output, Error<Error>>
Enumerates accounts which a specified account (actor) follows.
sourcepub async fn get_list(&self, params: Parameters) -> Result<Output, Error<Error>>
pub async fn get_list(&self, params: Parameters) -> Result<Output, Error<Error>>
Gets a ‘view’ (with additional context) of a specified list.
sourcepub async fn get_list_blocks(
&self,
params: Parameters
) -> Result<Output, Error<Error>>
pub async fn get_list_blocks( &self, params: Parameters ) -> Result<Output, Error<Error>>
Get mod lists that the requesting account (actor) is blocking. Requires auth.
sourcepub async fn get_list_mutes(
&self,
params: Parameters
) -> Result<Output, Error<Error>>
pub async fn get_list_mutes( &self, params: Parameters ) -> Result<Output, Error<Error>>
Enumerates mod lists that the requesting account (actor) currently has muted. Requires auth.
sourcepub async fn get_lists(
&self,
params: Parameters
) -> Result<Output, Error<Error>>
pub async fn get_lists( &self, params: Parameters ) -> Result<Output, Error<Error>>
Enumerates the lists created by a specified account (actor).
sourcepub async fn get_mutes(
&self,
params: Parameters
) -> Result<Output, Error<Error>>
pub async fn get_mutes( &self, params: Parameters ) -> Result<Output, Error<Error>>
Enumerates accounts that the requesting account (actor) currently has muted. Requires auth.
sourcepub async fn get_relationships(
&self,
params: Parameters
) -> Result<Output, Error<Error>>
pub async fn get_relationships( &self, params: Parameters ) -> Result<Output, Error<Error>>
Enumerates public relationships between one account, and a list of other accounts. Does not require auth.
sourcepub async fn get_suggested_follows_by_actor(
&self,
params: Parameters
) -> Result<Output, Error<Error>>
pub async fn get_suggested_follows_by_actor( &self, params: Parameters ) -> Result<Output, Error<Error>>
Enumerates follows similar to a given account (actor). Expected use is to recommend additional accounts immediately after following one account.
sourcepub async fn mute_actor(&self, input: Input) -> Result<(), Error<Error>>
pub async fn mute_actor(&self, input: Input) -> Result<(), Error<Error>>
Creates a mute relationship for the specified account. Mutes are private in Bluesky. Requires auth.
sourcepub async fn mute_actor_list(&self, input: Input) -> Result<(), Error<Error>>
pub async fn mute_actor_list(&self, input: Input) -> Result<(), Error<Error>>
Creates a mute relationship for the specified list of accounts. Mutes are private in Bluesky. Requires auth.