Struct atrium_api::client::app::bsky::notification::Service
source · 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.
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