pub struct PushApiClient {
configuration: Arc<Configuration>,
}
Fields§
§configuration: Arc<Configuration>
Implementations§
Source§impl PushApiClient
impl PushApiClient
pub fn new(configuration: Arc<Configuration>) -> Self
Trait Implementations§
Source§impl PushApi for PushApiClient
impl PushApi for PushApiClient
Source§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 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
Source§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<'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
Source§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 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
Source§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 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
Source§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,
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
Auto Trait Implementations§
impl Freeze for PushApiClient
impl !RefUnwindSafe for PushApiClient
impl Send for PushApiClient
impl Sync for PushApiClient
impl Unpin for PushApiClient
impl !UnwindSafe for PushApiClient
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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