pub struct MockCiphersApi {
CiphersApi_expectations: MockCiphersApi_CiphersApi,
}
Fields§
§CiphersApi_expectations: MockCiphersApi_CiphersApi
Implementations§
Source§impl MockCiphersApi
impl MockCiphersApi
Sourcepub fn checkpoint(&mut self)
pub fn checkpoint(&mut self)
Validate that all current expectations for all methods have been satisfied, and discard them.
Sourcepub fn new() -> Self
pub fn new() -> Self
Create a new mock object with no expectations.
This method will not be generated if the real struct
already has a new
method. However, it will be
generated if the struct implements a trait with a new
method. The trait’s new
method can still be called
like <MockX as TraitY>::new
Source§impl MockCiphersApi
impl MockCiphersApi
Sourcepub fn expect_azure_validate_file(&mut self) -> &mut Expectation
pub fn expect_azure_validate_file(&mut self) -> &mut Expectation
Create an Expectation
for mocking the azure_validate_file
method
Sourcepub fn expect_delete(&mut self) -> &mut Expectation
pub fn expect_delete(&mut self) -> &mut Expectation
Create an Expectation
for mocking the delete
method
Sourcepub fn expect_delete_admin(&mut self) -> &mut Expectation
pub fn expect_delete_admin(&mut self) -> &mut Expectation
Create an Expectation
for mocking the delete_admin
method
Sourcepub fn expect_delete_attachment(&mut self) -> &mut Expectation
pub fn expect_delete_attachment(&mut self) -> &mut Expectation
Create an Expectation
for mocking the delete_attachment
method
Sourcepub fn expect_delete_attachment_admin(&mut self) -> &mut Expectation
pub fn expect_delete_attachment_admin(&mut self) -> &mut Expectation
Create an Expectation
for mocking the delete_attachment_admin
method
Sourcepub fn expect_delete_many(&mut self) -> &mut Expectation
pub fn expect_delete_many(&mut self) -> &mut Expectation
Create an Expectation
for mocking the delete_many
method
Sourcepub fn expect_delete_many_admin(&mut self) -> &mut Expectation
pub fn expect_delete_many_admin(&mut self) -> &mut Expectation
Create an Expectation
for mocking the delete_many_admin
method
Sourcepub fn expect_get(&mut self) -> &mut Expectation
pub fn expect_get(&mut self) -> &mut Expectation
Create an Expectation
for mocking the get
method
Sourcepub fn expect_get_admin(&mut self) -> &mut Expectation
pub fn expect_get_admin(&mut self) -> &mut Expectation
Create an Expectation
for mocking the get_admin
method
Sourcepub fn expect_get_all(&mut self) -> &mut Expectation
pub fn expect_get_all(&mut self) -> &mut Expectation
Create an Expectation
for mocking the get_all
method
Sourcepub fn expect_get_assigned_organization_ciphers(&mut self) -> &mut Expectation
pub fn expect_get_assigned_organization_ciphers(&mut self) -> &mut Expectation
Create an Expectation
for mocking the get_assigned_organization_ciphers
method
Sourcepub fn expect_get_attachment_data(&mut self) -> &mut Expectation
pub fn expect_get_attachment_data(&mut self) -> &mut Expectation
Create an Expectation
for mocking the get_attachment_data
method
Sourcepub fn expect_get_attachment_data_admin(&mut self) -> &mut Expectation
pub fn expect_get_attachment_data_admin(&mut self) -> &mut Expectation
Create an Expectation
for mocking the get_attachment_data_admin
method
Sourcepub fn expect_get_details(&mut self) -> &mut Expectation
pub fn expect_get_details(&mut self) -> &mut Expectation
Create an Expectation
for mocking the get_details
method
Sourcepub fn expect_get_organization_ciphers(&mut self) -> &mut Expectation
pub fn expect_get_organization_ciphers(&mut self) -> &mut Expectation
Create an Expectation
for mocking the get_organization_ciphers
method
Sourcepub fn expect_move_many(&mut self) -> &mut Expectation
pub fn expect_move_many(&mut self) -> &mut Expectation
Create an Expectation
for mocking the move_many
method
Sourcepub fn expect_post(&mut self) -> &mut Expectation
pub fn expect_post(&mut self) -> &mut Expectation
Create an Expectation
for mocking the post
method
Sourcepub fn expect_post_admin(&mut self) -> &mut Expectation
pub fn expect_post_admin(&mut self) -> &mut Expectation
Create an Expectation
for mocking the post_admin
method
Sourcepub fn expect_post_attachment(&mut self) -> &mut Expectation
pub fn expect_post_attachment(&mut self) -> &mut Expectation
Create an Expectation
for mocking the post_attachment
method
Sourcepub fn expect_post_attachment_admin(&mut self) -> &mut Expectation
pub fn expect_post_attachment_admin(&mut self) -> &mut Expectation
Create an Expectation
for mocking the post_attachment_admin
method
Create an Expectation
for mocking the post_attachment_share
method
Sourcepub fn expect_post_bulk_collections(&mut self) -> &mut Expectation
pub fn expect_post_bulk_collections(&mut self) -> &mut Expectation
Create an Expectation
for mocking the post_bulk_collections
method
Sourcepub fn expect_post_create(&mut self) -> &mut Expectation
pub fn expect_post_create(&mut self) -> &mut Expectation
Create an Expectation
for mocking the post_create
method
Sourcepub fn expect_post_file_for_existing_attachment(&mut self) -> &mut Expectation
pub fn expect_post_file_for_existing_attachment(&mut self) -> &mut Expectation
Create an Expectation
for mocking the post_file_for_existing_attachment
method
Sourcepub fn expect_post_purge(&mut self) -> &mut Expectation
pub fn expect_post_purge(&mut self) -> &mut Expectation
Create an Expectation
for mocking the post_purge
method
Sourcepub fn expect_put(&mut self) -> &mut Expectation
pub fn expect_put(&mut self) -> &mut Expectation
Create an Expectation
for mocking the put
method
Sourcepub fn expect_put_admin(&mut self) -> &mut Expectation
pub fn expect_put_admin(&mut self) -> &mut Expectation
Create an Expectation
for mocking the put_admin
method
Sourcepub fn expect_put_archive(&mut self) -> &mut Expectation
pub fn expect_put_archive(&mut self) -> &mut Expectation
Create an Expectation
for mocking the put_archive
method
Sourcepub fn expect_put_archive_many(&mut self) -> &mut Expectation
pub fn expect_put_archive_many(&mut self) -> &mut Expectation
Create an Expectation
for mocking the put_archive_many
method
Sourcepub fn expect_put_collections(&mut self) -> &mut Expectation
pub fn expect_put_collections(&mut self) -> &mut Expectation
Create an Expectation
for mocking the put_collections
method
Sourcepub fn expect_put_collections_admin(&mut self) -> &mut Expectation
pub fn expect_put_collections_admin(&mut self) -> &mut Expectation
Create an Expectation
for mocking the put_collections_admin
method
Sourcepub fn expect_put_collections_v_next(&mut self) -> &mut Expectation
pub fn expect_put_collections_v_next(&mut self) -> &mut Expectation
Create an Expectation
for mocking the put_collections_v_next
method
Sourcepub fn expect_put_delete(&mut self) -> &mut Expectation
pub fn expect_put_delete(&mut self) -> &mut Expectation
Create an Expectation
for mocking the put_delete
method
Sourcepub fn expect_put_delete_admin(&mut self) -> &mut Expectation
pub fn expect_put_delete_admin(&mut self) -> &mut Expectation
Create an Expectation
for mocking the put_delete_admin
method
Sourcepub fn expect_put_delete_many(&mut self) -> &mut Expectation
pub fn expect_put_delete_many(&mut self) -> &mut Expectation
Create an Expectation
for mocking the put_delete_many
method
Sourcepub fn expect_put_delete_many_admin(&mut self) -> &mut Expectation
pub fn expect_put_delete_many_admin(&mut self) -> &mut Expectation
Create an Expectation
for mocking the put_delete_many_admin
method
Sourcepub fn expect_put_partial(&mut self) -> &mut Expectation
pub fn expect_put_partial(&mut self) -> &mut Expectation
Create an Expectation
for mocking the put_partial
method
Sourcepub fn expect_put_restore(&mut self) -> &mut Expectation
pub fn expect_put_restore(&mut self) -> &mut Expectation
Create an Expectation
for mocking the put_restore
method
Sourcepub fn expect_put_restore_admin(&mut self) -> &mut Expectation
pub fn expect_put_restore_admin(&mut self) -> &mut Expectation
Create an Expectation
for mocking the put_restore_admin
method
Sourcepub fn expect_put_restore_many(&mut self) -> &mut Expectation
pub fn expect_put_restore_many(&mut self) -> &mut Expectation
Create an Expectation
for mocking the put_restore_many
method
Sourcepub fn expect_put_restore_many_admin(&mut self) -> &mut Expectation
pub fn expect_put_restore_many_admin(&mut self) -> &mut Expectation
Create an Expectation
for mocking the put_restore_many_admin
method
Create an Expectation
for mocking the put_share
method
Create an Expectation
for mocking the put_share_many
method
Sourcepub fn expect_put_unarchive(&mut self) -> &mut Expectation
pub fn expect_put_unarchive(&mut self) -> &mut Expectation
Create an Expectation
for mocking the put_unarchive
method
Sourcepub fn expect_put_unarchive_many(&mut self) -> &mut Expectation
pub fn expect_put_unarchive_many(&mut self) -> &mut Expectation
Create an Expectation
for mocking the put_unarchive_many
method
Sourcepub fn expect_renew_file_upload_url(&mut self) -> &mut Expectation
pub fn expect_renew_file_upload_url(&mut self) -> &mut Expectation
Create an Expectation
for mocking the renew_file_upload_url
method
Trait Implementations§
Source§impl CiphersApi for MockCiphersApi
impl CiphersApi for MockCiphersApi
Source§fn azure_validate_file<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), Error<AzureValidateFileError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn azure_validate_file<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), Error<AzureValidateFileError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
POST /ciphers/attachment/validate/azure
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 /ciphers/{id}
Source§fn delete_admin<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error<DeleteAdminError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn delete_admin<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error<DeleteAdminError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
DELETE /ciphers/{id}/admin
Source§fn delete_attachment<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
attachment_id: &'a str,
) -> Pin<Box<dyn Future<Output = Result<DeleteAttachmentResponseData, Error<DeleteAttachmentError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn delete_attachment<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
attachment_id: &'a str,
) -> Pin<Box<dyn Future<Output = Result<DeleteAttachmentResponseData, Error<DeleteAttachmentError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
DELETE /ciphers/{id}/attachment/{attachmentId}
Source§fn delete_attachment_admin<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
attachment_id: &'a str,
) -> Pin<Box<dyn Future<Output = Result<DeleteAttachmentResponseData, Error<DeleteAttachmentAdminError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn delete_attachment_admin<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
attachment_id: &'a str,
) -> Pin<Box<dyn Future<Output = Result<DeleteAttachmentResponseData, Error<DeleteAttachmentAdminError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
DELETE /ciphers/{id}/attachment/{attachmentId}/admin
Source§fn delete_many<'a, 'life0, 'async_trait>(
&'life0 self,
cipher_bulk_delete_request_model: Option<CipherBulkDeleteRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<DeleteManyError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn delete_many<'a, 'life0, 'async_trait>(
&'life0 self,
cipher_bulk_delete_request_model: Option<CipherBulkDeleteRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<DeleteManyError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
DELETE /ciphers
Source§fn delete_many_admin<'a, 'life0, 'async_trait>(
&'life0 self,
cipher_bulk_delete_request_model: Option<CipherBulkDeleteRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<DeleteManyAdminError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn delete_many_admin<'a, 'life0, 'async_trait>(
&'life0 self,
cipher_bulk_delete_request_model: Option<CipherBulkDeleteRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<DeleteManyAdminError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
DELETE /ciphers/admin
Source§fn get<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<CipherResponseModel, 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<CipherResponseModel, Error<GetError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /ciphers/{id}
Source§fn get_admin<'a, 'life0, 'async_trait>(
&'life0 self,
id: &'a str,
) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModel, Error<GetAdminError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_admin<'a, 'life0, 'async_trait>(
&'life0 self,
id: &'a str,
) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModel, Error<GetAdminError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /ciphers/{id}/admin
Source§fn get_all<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<CipherDetailsResponseModelListResponseModel, Error<GetAllError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_all<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<CipherDetailsResponseModelListResponseModel, Error<GetAllError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
GET /ciphers
Source§fn get_assigned_organization_ciphers<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Option<Uuid>,
) -> Pin<Box<dyn Future<Output = Result<CipherDetailsResponseModelListResponseModel, Error<GetAssignedOrganizationCiphersError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_assigned_organization_ciphers<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Option<Uuid>,
) -> Pin<Box<dyn Future<Output = Result<CipherDetailsResponseModelListResponseModel, Error<GetAssignedOrganizationCiphersError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /ciphers/organization-details/assigned
Source§fn get_attachment_data<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
attachment_id: &'a str,
) -> Pin<Box<dyn Future<Output = Result<AttachmentResponseModel, Error<GetAttachmentDataError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_attachment_data<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
attachment_id: &'a str,
) -> Pin<Box<dyn Future<Output = Result<AttachmentResponseModel, Error<GetAttachmentDataError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /ciphers/{id}/attachment/{attachmentId}
Source§fn get_attachment_data_admin<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
attachment_id: &'a str,
) -> Pin<Box<dyn Future<Output = Result<AttachmentResponseModel, Error<GetAttachmentDataAdminError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_attachment_data_admin<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
attachment_id: &'a str,
) -> Pin<Box<dyn Future<Output = Result<AttachmentResponseModel, Error<GetAttachmentDataAdminError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /ciphers/{id}/attachment/{attachmentId}/admin
Source§fn get_details<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<CipherDetailsResponseModel, Error<GetDetailsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_details<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<CipherDetailsResponseModel, Error<GetDetailsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /ciphers/{id}/details
Source§fn get_organization_ciphers<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Option<Uuid>,
) -> Pin<Box<dyn Future<Output = Result<CipherMiniDetailsResponseModelListResponseModel, Error<GetOrganizationCiphersError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_organization_ciphers<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Option<Uuid>,
) -> Pin<Box<dyn Future<Output = Result<CipherMiniDetailsResponseModelListResponseModel, Error<GetOrganizationCiphersError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /ciphers/organization-details
Source§fn move_many<'a, 'life0, 'async_trait>(
&'life0 self,
cipher_bulk_move_request_model: Option<CipherBulkMoveRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<MoveManyError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn move_many<'a, 'life0, 'async_trait>(
&'life0 self,
cipher_bulk_move_request_model: Option<CipherBulkMoveRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<MoveManyError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /ciphers/move
Source§fn post<'a, 'life0, 'async_trait>(
&'life0 self,
cipher_request_model: Option<CipherRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<CipherResponseModel, Error<PostError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post<'a, 'life0, 'async_trait>(
&'life0 self,
cipher_request_model: Option<CipherRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<CipherResponseModel, Error<PostError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /ciphers
Source§fn post_admin<'a, 'life0, 'async_trait>(
&'life0 self,
cipher_create_request_model: Option<CipherCreateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModel, Error<PostAdminError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_admin<'a, 'life0, 'async_trait>(
&'life0 self,
cipher_create_request_model: Option<CipherCreateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModel, Error<PostAdminError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /ciphers/admin
Source§fn post_attachment<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
attachment_request_model: Option<AttachmentRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<AttachmentUploadDataResponseModel, Error<PostAttachmentError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_attachment<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
attachment_request_model: Option<AttachmentRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<AttachmentUploadDataResponseModel, Error<PostAttachmentError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /ciphers/{id}/attachment/v2
Source§fn post_attachment_admin<'a, 'life0, 'async_trait>(
&'life0 self,
id: &'a str,
) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModel, Error<PostAttachmentAdminError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_attachment_admin<'a, 'life0, 'async_trait>(
&'life0 self,
id: &'a str,
) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModel, Error<PostAttachmentAdminError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /ciphers/{id}/attachment-admin
POST /ciphers/{id}/attachment/{attachmentId}/share
Source§fn post_bulk_collections<'a, 'life0, 'async_trait>(
&'life0 self,
cipher_bulk_update_collections_request_model: Option<CipherBulkUpdateCollectionsRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<PostBulkCollectionsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_bulk_collections<'a, 'life0, 'async_trait>(
&'life0 self,
cipher_bulk_update_collections_request_model: Option<CipherBulkUpdateCollectionsRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<PostBulkCollectionsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /ciphers/bulk-collections
Source§fn post_create<'a, 'life0, 'async_trait>(
&'life0 self,
cipher_create_request_model: Option<CipherCreateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<CipherResponseModel, Error<PostCreateError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_create<'a, 'life0, 'async_trait>(
&'life0 self,
cipher_create_request_model: Option<CipherCreateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<CipherResponseModel, Error<PostCreateError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /ciphers/create
Source§fn post_file_for_existing_attachment<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
attachment_id: &'a str,
) -> Pin<Box<dyn Future<Output = Result<(), Error<PostFileForExistingAttachmentError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_file_for_existing_attachment<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
attachment_id: &'a str,
) -> Pin<Box<dyn Future<Output = Result<(), Error<PostFileForExistingAttachmentError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /ciphers/{id}/attachment/{attachmentId}
Source§fn post_purge<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Option<Uuid>,
secret_verification_request_model: Option<SecretVerificationRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<PostPurgeError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_purge<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Option<Uuid>,
secret_verification_request_model: Option<SecretVerificationRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<PostPurgeError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /ciphers/purge
Source§fn put<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
cipher_request_model: Option<CipherRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<CipherResponseModel, 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,
cipher_request_model: Option<CipherRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<CipherResponseModel, Error<PutError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /ciphers/{id}
Source§fn put_admin<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
cipher_request_model: Option<CipherRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModel, Error<PutAdminError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn put_admin<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
cipher_request_model: Option<CipherRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModel, Error<PutAdminError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /ciphers/{id}/admin
Source§fn put_archive<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModel, Error<PutArchiveError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn put_archive<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModel, Error<PutArchiveError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /ciphers/{id}/archive
Source§fn put_archive_many<'a, 'life0, 'async_trait>(
&'life0 self,
cipher_bulk_archive_request_model: Option<CipherBulkArchiveRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModelListResponseModel, Error<PutArchiveManyError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn put_archive_many<'a, 'life0, 'async_trait>(
&'life0 self,
cipher_bulk_archive_request_model: Option<CipherBulkArchiveRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModelListResponseModel, Error<PutArchiveManyError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /ciphers/archive
Source§fn put_collections<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
cipher_collections_request_model: Option<CipherCollectionsRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<CipherDetailsResponseModel, Error<PutCollectionsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn put_collections<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
cipher_collections_request_model: Option<CipherCollectionsRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<CipherDetailsResponseModel, Error<PutCollectionsError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /ciphers/{id}/collections
Source§fn put_collections_admin<'a, 'life0, 'async_trait>(
&'life0 self,
id: &'a str,
cipher_collections_request_model: Option<CipherCollectionsRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<CipherMiniDetailsResponseModel, Error<PutCollectionsAdminError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn put_collections_admin<'a, 'life0, 'async_trait>(
&'life0 self,
id: &'a str,
cipher_collections_request_model: Option<CipherCollectionsRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<CipherMiniDetailsResponseModel, Error<PutCollectionsAdminError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /ciphers/{id}/collections-admin
Source§fn put_collections_v_next<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
cipher_collections_request_model: Option<CipherCollectionsRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<OptionalCipherDetailsResponseModel, Error<PutCollections_vNextError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn put_collections_v_next<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
cipher_collections_request_model: Option<CipherCollectionsRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<OptionalCipherDetailsResponseModel, Error<PutCollections_vNextError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /ciphers/{id}/collections_v2
Source§fn put_delete<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error<PutDeleteError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn put_delete<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error<PutDeleteError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /ciphers/{id}/delete
Source§fn put_delete_admin<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error<PutDeleteAdminError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn put_delete_admin<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error<PutDeleteAdminError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /ciphers/{id}/delete-admin
Source§fn put_delete_many<'a, 'life0, 'async_trait>(
&'life0 self,
cipher_bulk_delete_request_model: Option<CipherBulkDeleteRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<PutDeleteManyError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn put_delete_many<'a, 'life0, 'async_trait>(
&'life0 self,
cipher_bulk_delete_request_model: Option<CipherBulkDeleteRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<PutDeleteManyError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /ciphers/delete
Source§fn put_delete_many_admin<'a, 'life0, 'async_trait>(
&'life0 self,
cipher_bulk_delete_request_model: Option<CipherBulkDeleteRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<PutDeleteManyAdminError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn put_delete_many_admin<'a, 'life0, 'async_trait>(
&'life0 self,
cipher_bulk_delete_request_model: Option<CipherBulkDeleteRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<PutDeleteManyAdminError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /ciphers/delete-admin
Source§fn put_partial<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
cipher_partial_request_model: Option<CipherPartialRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<CipherResponseModel, Error<PutPartialError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn put_partial<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
cipher_partial_request_model: Option<CipherPartialRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<CipherResponseModel, Error<PutPartialError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /ciphers/{id}/partial
Source§fn put_restore<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<CipherResponseModel, Error<PutRestoreError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn put_restore<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<CipherResponseModel, Error<PutRestoreError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /ciphers/{id}/restore
Source§fn put_restore_admin<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModel, Error<PutRestoreAdminError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn put_restore_admin<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModel, Error<PutRestoreAdminError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /ciphers/{id}/restore-admin
Source§fn put_restore_many<'a, 'life0, 'async_trait>(
&'life0 self,
cipher_bulk_restore_request_model: Option<CipherBulkRestoreRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModelListResponseModel, Error<PutRestoreManyError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn put_restore_many<'a, 'life0, 'async_trait>(
&'life0 self,
cipher_bulk_restore_request_model: Option<CipherBulkRestoreRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModelListResponseModel, Error<PutRestoreManyError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /ciphers/restore
Source§fn put_restore_many_admin<'a, 'life0, 'async_trait>(
&'life0 self,
cipher_bulk_restore_request_model: Option<CipherBulkRestoreRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModelListResponseModel, Error<PutRestoreManyAdminError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn put_restore_many_admin<'a, 'life0, 'async_trait>(
&'life0 self,
cipher_bulk_restore_request_model: Option<CipherBulkRestoreRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModelListResponseModel, Error<PutRestoreManyAdminError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /ciphers/restore-admin
PUT /ciphers/{id}/share
PUT /ciphers/share
Source§fn put_unarchive<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModel, Error<PutUnarchiveError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn put_unarchive<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModel, Error<PutUnarchiveError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /ciphers/{id}/unarchive
Source§fn put_unarchive_many<'a, 'life0, 'async_trait>(
&'life0 self,
cipher_bulk_unarchive_request_model: Option<CipherBulkUnarchiveRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModelListResponseModel, Error<PutUnarchiveManyError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn put_unarchive_many<'a, 'life0, 'async_trait>(
&'life0 self,
cipher_bulk_unarchive_request_model: Option<CipherBulkUnarchiveRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModelListResponseModel, Error<PutUnarchiveManyError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /ciphers/unarchive
Source§fn renew_file_upload_url<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
attachment_id: &'a str,
) -> Pin<Box<dyn Future<Output = Result<AttachmentUploadDataResponseModel, Error<RenewFileUploadUrlError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn renew_file_upload_url<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
attachment_id: &'a str,
) -> Pin<Box<dyn Future<Output = Result<AttachmentUploadDataResponseModel, Error<RenewFileUploadUrlError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /ciphers/{id}/attachment/{attachmentId}/renew