pub trait NotificationsApi: Send + Sync {
// Required methods
fn list<'a, 'life0, 'async_trait>(
&'life0 self,
read_status_filter: Option<bool>,
deleted_status_filter: Option<bool>,
continuation_token: Option<&'a str>,
page_size: Option<i32>,
) -> Pin<Box<dyn Future<Output = Result<NotificationResponseModelListResponseModel, Error<ListError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
fn mark_as_deleted<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error<MarkAsDeletedError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
fn mark_as_read<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error<MarkAsReadError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
}
Required Methods§
Sourcefn list<'a, 'life0, 'async_trait>(
&'life0 self,
read_status_filter: Option<bool>,
deleted_status_filter: Option<bool>,
continuation_token: Option<&'a str>,
page_size: Option<i32>,
) -> Pin<Box<dyn Future<Output = Result<NotificationResponseModelListResponseModel, Error<ListError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn list<'a, 'life0, 'async_trait>(
&'life0 self,
read_status_filter: Option<bool>,
deleted_status_filter: Option<bool>,
continuation_token: Option<&'a str>,
page_size: Option<i32>,
) -> Pin<Box<dyn Future<Output = Result<NotificationResponseModelListResponseModel, Error<ListError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /notifications