pub struct ProvidersApiClient {
configuration: Arc<Configuration>,
}
Fields§
§configuration: Arc<Configuration>
Implementations§
Source§impl ProvidersApiClient
impl ProvidersApiClient
pub fn new(configuration: Arc<Configuration>) -> Self
Trait Implementations§
Source§impl ProvidersApi for ProvidersApiClient
impl ProvidersApi for ProvidersApiClient
Source§fn delete<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> 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,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error<DeleteError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
DELETE /providers/{id}
Source§fn get<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<ProviderResponseModel, Error<GetError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<ProviderResponseModel, Error<GetError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /providers/{id}
Source§fn post_delete_recover_token<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
provider_verify_delete_recover_request_model: Option<ProviderVerifyDeleteRecoverRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<PostDeleteRecoverTokenError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_delete_recover_token<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
provider_verify_delete_recover_request_model: Option<ProviderVerifyDeleteRecoverRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<PostDeleteRecoverTokenError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /providers/{id}/delete-recover-token
Source§fn put<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
provider_update_request_model: Option<ProviderUpdateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<ProviderResponseModel, Error<PutError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn put<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
provider_update_request_model: Option<ProviderUpdateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<ProviderResponseModel, Error<PutError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /providers/{id}
Source§fn setup<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
provider_setup_request_model: Option<ProviderSetupRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<ProviderResponseModel, Error<SetupError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn setup<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
provider_setup_request_model: Option<ProviderSetupRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<ProviderResponseModel, Error<SetupError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /providers/{id}/setup
Auto Trait Implementations§
impl Freeze for ProvidersApiClient
impl !RefUnwindSafe for ProvidersApiClient
impl Send for ProvidersApiClient
impl Sync for ProvidersApiClient
impl Unpin for ProvidersApiClient
impl !UnwindSafe for ProvidersApiClient
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