pub struct Service<T>where
T: XrpcClient + Send + Sync,{ /* private fields */ }
Implementations§
source§impl<T> Service<T>where
T: XrpcClient + Send + Sync,
impl<T> Service<T>where T: XrpcClient + Send + Sync,
sourcepub async fn get_blocks(
&self,
params: Parameters
) -> Result<Output, Error<Error>>
pub async fn get_blocks( &self, params: Parameters ) -> Result<Output, Error<Error>>
Who is the requester’s account blocking?
sourcepub async fn get_followers(
&self,
params: Parameters
) -> Result<Output, Error<Error>>
pub async fn get_followers( &self, params: Parameters ) -> Result<Output, Error<Error>>
Who is following an 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>>
Who is an actor following?
sourcepub async fn get_list(&self, params: Parameters) -> Result<Output, Error<Error>>
pub async fn get_list(&self, params: Parameters) -> Result<Output, Error<Error>>
Fetch a list of actors
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>>
Which lists is the requester’s account blocking?
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>>
Which lists is the requester’s account muting?
sourcepub async fn get_lists(
&self,
params: Parameters
) -> Result<Output, Error<Error>>
pub async fn get_lists( &self, params: Parameters ) -> Result<Output, Error<Error>>
Fetch a list of lists that belong to an 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>>
Who does the viewer mute?
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>>
Get suggested follows related to a given actor.
sourcepub async fn mute_actor(&self, input: Input) -> Result<(), Error<Error>>
pub async fn mute_actor(&self, input: Input) -> Result<(), Error<Error>>
Mute an actor by did or handle.
sourcepub async fn mute_actor_list(&self, input: Input) -> Result<(), Error<Error>>
pub async fn mute_actor_list(&self, input: Input) -> Result<(), Error<Error>>
Mute a list of actors.
Auto Trait Implementations§
impl<T> RefUnwindSafe for Service<T>where T: RefUnwindSafe,
impl<T> Send for Service<T>
impl<T> Sync for Service<T>
impl<T> Unpin for Service<T>
impl<T> UnwindSafe for Service<T>where T: RefUnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more