Struct CiphersApiClient

Source
pub struct CiphersApiClient {
    configuration: Arc<Configuration>,
}

Fields§

§configuration: Arc<Configuration>

Implementations§

Source§

impl CiphersApiClient

Source

pub fn new(configuration: Arc<Configuration>) -> Self

Trait Implementations§

Source§

impl CiphersApi for CiphersApiClient

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

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,