Struct MockCiphersApi

Source
pub struct MockCiphersApi {
    CiphersApi_expectations: MockCiphersApi_CiphersApi,
}

Fields§

§CiphersApi_expectations: MockCiphersApi_CiphersApi

Implementations§

Source§

impl MockCiphersApi

Source

pub fn checkpoint(&mut self)

Validate that all current expectations for all methods have been satisfied, and discard them.

Source

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

Source

pub fn expect_azure_validate_file(&mut self) -> &mut Expectation

Create an Expectation for mocking the azure_validate_file method

Source

pub fn expect_delete(&mut self) -> &mut Expectation

Create an Expectation for mocking the delete method

Source

pub fn expect_delete_admin(&mut self) -> &mut Expectation

Create an Expectation for mocking the delete_admin method

Source

pub fn expect_delete_attachment(&mut self) -> &mut Expectation

Create an Expectation for mocking the delete_attachment method

Source

pub fn expect_delete_attachment_admin(&mut self) -> &mut Expectation

Create an Expectation for mocking the delete_attachment_admin method

Source

pub fn expect_delete_many(&mut self) -> &mut Expectation

Create an Expectation for mocking the delete_many method

Source

pub fn expect_delete_many_admin(&mut self) -> &mut Expectation

Create an Expectation for mocking the delete_many_admin method

Source

pub fn expect_get(&mut self) -> &mut Expectation

Create an Expectation for mocking the get method

Source

pub fn expect_get_admin(&mut self) -> &mut Expectation

Create an Expectation for mocking the get_admin method

Source

pub fn expect_get_all(&mut self) -> &mut Expectation

Create an Expectation for mocking the get_all method

Source

pub fn expect_get_assigned_organization_ciphers(&mut self) -> &mut Expectation

Create an Expectation for mocking the get_assigned_organization_ciphers method

Source

pub fn expect_get_attachment_data(&mut self) -> &mut Expectation

Create an Expectation for mocking the get_attachment_data method

Source

pub fn expect_get_attachment_data_admin(&mut self) -> &mut Expectation

Create an Expectation for mocking the get_attachment_data_admin method

Source

pub fn expect_get_details(&mut self) -> &mut Expectation

Create an Expectation for mocking the get_details method

Source

pub fn expect_get_organization_ciphers(&mut self) -> &mut Expectation

Create an Expectation for mocking the get_organization_ciphers method

Source

pub fn expect_move_many(&mut self) -> &mut Expectation

Create an Expectation for mocking the move_many method

Source

pub fn expect_post(&mut self) -> &mut Expectation

Create an Expectation for mocking the post method

Source

pub fn expect_post_admin(&mut self) -> &mut Expectation

Create an Expectation for mocking the post_admin method

Source

pub fn expect_post_attachment(&mut self) -> &mut Expectation

Create an Expectation for mocking the post_attachment method

Source

pub fn expect_post_attachment_admin(&mut self) -> &mut Expectation

Create an Expectation for mocking the post_attachment_admin method

Source

pub fn expect_post_attachment_share(&mut self) -> &mut Expectation

Create an Expectation for mocking the post_attachment_share method

Source

pub fn expect_post_bulk_collections(&mut self) -> &mut Expectation

Create an Expectation for mocking the post_bulk_collections method

Source

pub fn expect_post_create(&mut self) -> &mut Expectation

Create an Expectation for mocking the post_create method

Source

pub fn expect_post_file_for_existing_attachment(&mut self) -> &mut Expectation

Create an Expectation for mocking the post_file_for_existing_attachment method

Source

pub fn expect_post_purge(&mut self) -> &mut Expectation

Create an Expectation for mocking the post_purge method

Source

pub fn expect_put(&mut self) -> &mut Expectation

Create an Expectation for mocking the put method

Source

pub fn expect_put_admin(&mut self) -> &mut Expectation

Create an Expectation for mocking the put_admin method

Source

pub fn expect_put_archive(&mut self) -> &mut Expectation

Create an Expectation for mocking the put_archive method

Source

pub fn expect_put_archive_many(&mut self) -> &mut Expectation

Create an Expectation for mocking the put_archive_many method

Source

pub fn expect_put_collections(&mut self) -> &mut Expectation

Create an Expectation for mocking the put_collections method

Source

pub fn expect_put_collections_admin(&mut self) -> &mut Expectation

Create an Expectation for mocking the put_collections_admin method

Source

pub fn expect_put_collections_v_next(&mut self) -> &mut Expectation

Create an Expectation for mocking the put_collections_v_next method

Source

pub fn expect_put_delete(&mut self) -> &mut Expectation

Create an Expectation for mocking the put_delete method

Source

pub fn expect_put_delete_admin(&mut self) -> &mut Expectation

Create an Expectation for mocking the put_delete_admin method

Source

pub fn expect_put_delete_many(&mut self) -> &mut Expectation

Create an Expectation for mocking the put_delete_many method

Source

pub fn expect_put_delete_many_admin(&mut self) -> &mut Expectation

Create an Expectation for mocking the put_delete_many_admin method

Source

pub fn expect_put_partial(&mut self) -> &mut Expectation

Create an Expectation for mocking the put_partial method

Source

pub fn expect_put_restore(&mut self) -> &mut Expectation

Create an Expectation for mocking the put_restore method

Source

pub fn expect_put_restore_admin(&mut self) -> &mut Expectation

Create an Expectation for mocking the put_restore_admin method

Source

pub fn expect_put_restore_many(&mut self) -> &mut Expectation

Create an Expectation for mocking the put_restore_many method

Source

pub fn expect_put_restore_many_admin(&mut self) -> &mut Expectation

Create an Expectation for mocking the put_restore_many_admin method

Source

pub fn expect_put_share(&mut self) -> &mut Expectation

Create an Expectation for mocking the put_share method

Source

pub fn expect_put_share_many(&mut self) -> &mut Expectation

Create an Expectation for mocking the put_share_many method

Source

pub fn expect_put_unarchive(&mut self) -> &mut Expectation

Create an Expectation for mocking the put_unarchive method

Source

pub fn expect_put_unarchive_many(&mut self) -> &mut Expectation

Create an Expectation for mocking the put_unarchive_many method

Source

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

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,

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,

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,

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,

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,

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,

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,

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,

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,

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,

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,

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,

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,

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,

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,

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,

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,

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,

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,

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,

POST /ciphers/{id}/attachment-admin

Source§

fn post_attachment_share<'a, 'life0, 'async_trait>( &'life0 self, id: &'a str, attachment_id: &'a str, organization_id: Option<Uuid>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PostAttachmentShareError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

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,

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,

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,

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,

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,

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,

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,

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,

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,

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,

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,

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,

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,

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,

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,

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,

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,

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,

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,

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,

PUT /ciphers/restore-admin

Source§

fn put_share<'a, 'life0, 'async_trait>( &'life0 self, id: Uuid, cipher_share_request_model: Option<CipherShareRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<CipherResponseModel, Error<PutShareError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PUT /ciphers/{id}/share

Source§

fn put_share_many<'a, 'life0, 'async_trait>( &'life0 self, cipher_bulk_share_request_model: Option<CipherBulkShareRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<CipherMiniResponseModelListResponseModel, Error<PutShareManyError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

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,

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,

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,

GET /ciphers/{id}/attachment/{attachmentId}/renew

Source§

impl Debug for MockCiphersApi

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl Default for MockCiphersApi

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Any for T
where T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

§

fn type_name(&self) -> &'static str

§

impl<T> AnySync for T
where T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> PolicyExt for T
where T: ?Sized,

§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] only if self and other return Action::Follow. Read more
§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] if either self or other returns Action::Follow. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where T: 'static,