pub struct TrashApiClient {
configuration: Arc<Configuration>,
}
Fields§
§configuration: Arc<Configuration>
Implementations§
Source§impl TrashApiClient
impl TrashApiClient
pub fn new(configuration: Arc<Configuration>) -> Self
Trait Implementations§
Source§impl TrashApi for TrashApiClient
impl TrashApi for TrashApiClient
Source§fn empty_trash<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
uuid_colon_colon_uuid: Option<Vec<Uuid>>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<EmptyTrashError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn empty_trash<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
uuid_colon_colon_uuid: Option<Vec<Uuid>>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<EmptyTrashError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /secrets/{organizationId}/trash/empty
Source§fn list_by_organization<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<SecretWithProjectsListResponseModel, Error<ListByOrganizationError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn list_by_organization<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<SecretWithProjectsListResponseModel, Error<ListByOrganizationError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /secrets/{organizationId}/trash
Source§fn restore_trash<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
uuid_colon_colon_uuid: Option<Vec<Uuid>>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<RestoreTrashError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn restore_trash<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
uuid_colon_colon_uuid: Option<Vec<Uuid>>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<RestoreTrashError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /secrets/{organizationId}/trash/restore
Auto Trait Implementations§
impl Freeze for TrashApiClient
impl !RefUnwindSafe for TrashApiClient
impl Send for TrashApiClient
impl Sync for TrashApiClient
impl Unpin for TrashApiClient
impl !UnwindSafe for TrashApiClient
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