pub struct SecretVersionsApiClient {
configuration: Arc<Configuration>,
}Fields§
§configuration: Arc<Configuration>Implementations§
Source§impl SecretVersionsApiClient
impl SecretVersionsApiClient
pub fn new(configuration: Arc<Configuration>) -> Self
Trait Implementations§
Source§impl SecretVersionsApi for SecretVersionsApiClient
impl SecretVersionsApi for SecretVersionsApiClient
Source§fn bulk_delete<'a, 'life0, 'async_trait>(
&'life0 self,
uuid_colon_colon_uuid: Option<Vec<Uuid>>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<BulkDeleteError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn bulk_delete<'a, 'life0, 'async_trait>(
&'life0 self,
uuid_colon_colon_uuid: Option<Vec<Uuid>>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<BulkDeleteError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /secret-versions/delete
Source§fn get_by_id<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<SecretVersionResponseModel, Error<GetByIdError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_by_id<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<SecretVersionResponseModel, Error<GetByIdError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /secret-versions/{id}
Source§fn get_many_by_ids<'a, 'life0, 'async_trait>(
&'life0 self,
uuid_colon_colon_uuid: Option<Vec<Uuid>>,
) -> Pin<Box<dyn Future<Output = Result<SecretVersionResponseModelListResponseModel, Error<GetManyByIdsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_many_by_ids<'a, 'life0, 'async_trait>(
&'life0 self,
uuid_colon_colon_uuid: Option<Vec<Uuid>>,
) -> Pin<Box<dyn Future<Output = Result<SecretVersionResponseModelListResponseModel, Error<GetManyByIdsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /secret-versions/get-by-ids
Source§fn get_versions_by_secret_id<'a, 'life0, 'async_trait>(
&'life0 self,
secret_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<SecretVersionResponseModelListResponseModel, Error<GetVersionsBySecretIdError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_versions_by_secret_id<'a, 'life0, 'async_trait>(
&'life0 self,
secret_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<SecretVersionResponseModelListResponseModel, Error<GetVersionsBySecretIdError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /secrets/{secretId}/versions
Source§fn restore_version<'a, 'life0, 'async_trait>(
&'life0 self,
secret_id: Uuid,
restore_secret_version_request_model: Option<RestoreSecretVersionRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<SecretResponseModel, Error<RestoreVersionError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn restore_version<'a, 'life0, 'async_trait>(
&'life0 self,
secret_id: Uuid,
restore_secret_version_request_model: Option<RestoreSecretVersionRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<SecretResponseModel, Error<RestoreVersionError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /secrets/{secretId}/versions/restore
Auto Trait Implementations§
impl Freeze for SecretVersionsApiClient
impl !RefUnwindSafe for SecretVersionsApiClient
impl Send for SecretVersionsApiClient
impl Sync for SecretVersionsApiClient
impl Unpin for SecretVersionsApiClient
impl !UnwindSafe for SecretVersionsApiClient
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