Struct atrium_api::client::app::bsky::notification::Service
source · pub struct Service<T>{ /* private fields */ }
Implementations§
source§impl<T> Service<T>
impl<T> Service<T>
sourcepub async fn get_unread_count(
&self,
params: Parameters
) -> Result<Output, Error<Error>>
pub async fn get_unread_count( &self, params: Parameters ) -> Result<Output, Error<Error>>
Count the number of unread notifications for the requesting account. Requires auth.
sourcepub async fn list_notifications(
&self,
params: Parameters
) -> Result<Output, Error<Error>>
pub async fn list_notifications( &self, params: Parameters ) -> Result<Output, Error<Error>>
Enumerate notifications for the requesting account. Requires auth.
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