pub struct Service<T>{ /* private fields */ }
Available on crate feature
namespace-appbsky
only.Implementations§
Source§impl<T> Service<T>
impl<T> Service<T>
Sourcepub async fn get_unread_count(
&self,
params: Parameters,
) -> Result<Output, Error>
pub async fn get_unread_count( &self, params: Parameters, ) -> Result<Output, Error>
Count the number of unread notifications for the requesting account. Requires auth.
Sourcepub async fn list_notifications(
&self,
params: Parameters,
) -> Result<Output, Error>
pub async fn list_notifications( &self, params: Parameters, ) -> Result<Output, Error>
Enumerate notifications for the requesting account. Requires auth.
Sourcepub async fn put_preferences(&self, input: Input) -> Result<(), Error>
pub async fn put_preferences(&self, input: Input) -> Result<(), Error>
Set notification-related preferences for an account. Requires auth.
Auto Trait Implementations§
impl<T> Freeze for Service<T>
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>where
T: Unpin,
impl<T> UnwindSafe for Service<T>where
T: RefUnwindSafe + UnwindSafe,
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