pub trait PushApi: Send + Sync {
// Required methods
fn add_organization<'a, 'life0, 'async_trait>(
&'life0 self,
push_update_request_model: Option<PushUpdateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<AddOrganizationError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
fn delete<'a, 'life0, 'async_trait>(
&'life0 self,
push_device_request_model: Option<PushDeviceRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<DeleteError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
fn delete_organization<'a, 'life0, 'async_trait>(
&'life0 self,
push_update_request_model: Option<PushUpdateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<DeleteOrganizationError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
fn register<'a, 'life0, 'async_trait>(
&'life0 self,
push_registration_request_model: Option<PushRegistrationRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<RegisterError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
fn send<'a, 'life0, 'async_trait>(
&'life0 self,
json_element_push_send_request_model: Option<JsonElementPushSendRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<SendError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
}
Required Methods§
Sourcefn add_organization<'a, 'life0, 'async_trait>(
&'life0 self,
push_update_request_model: Option<PushUpdateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<AddOrganizationError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn add_organization<'a, 'life0, 'async_trait>(
&'life0 self,
push_update_request_model: Option<PushUpdateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<AddOrganizationError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /push/add-organization
Sourcefn delete<'a, 'life0, 'async_trait>(
&'life0 self,
push_device_request_model: Option<PushDeviceRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<DeleteError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn delete<'a, 'life0, 'async_trait>(
&'life0 self,
push_device_request_model: Option<PushDeviceRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<DeleteError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /push/delete
Sourcefn delete_organization<'a, 'life0, 'async_trait>(
&'life0 self,
push_update_request_model: Option<PushUpdateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<DeleteOrganizationError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn delete_organization<'a, 'life0, 'async_trait>(
&'life0 self,
push_update_request_model: Option<PushUpdateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<DeleteOrganizationError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /push/delete-organization
Sourcefn register<'a, 'life0, 'async_trait>(
&'life0 self,
push_registration_request_model: Option<PushRegistrationRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<RegisterError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn register<'a, 'life0, 'async_trait>(
&'life0 self,
push_registration_request_model: Option<PushRegistrationRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<RegisterError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /push/register
Sourcefn send<'a, 'life0, 'async_trait>(
&'life0 self,
json_element_push_send_request_model: Option<JsonElementPushSendRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<SendError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn send<'a, 'life0, 'async_trait>(
&'life0 self,
json_element_push_send_request_model: Option<JsonElementPushSendRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<SendError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /push/send