Struct AccountsApiClient

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

Fields§

§configuration: Arc<Configuration>

Implementations§

Source§

impl AccountsApiClient

Source

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

Trait Implementations§

Source§

impl AccountsApi for AccountsApiClient

Source§

fn api_key<'a, 'life0, 'async_trait>( &'life0 self, secret_verification_request_model: Option<SecretVerificationRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<ApiKeyResponseModel, Error<ApiKeyError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /accounts/api-key
Source§

fn delete<'a, 'life0, 'async_trait>( &'life0 self, secret_verification_request_model: Option<SecretVerificationRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<DeleteError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

DELETE /accounts
Source§

fn delete_sso_user<'a, 'life0, 'async_trait>( &'life0 self, organization_id: &'a str, ) -> Pin<Box<dyn Future<Output = Result<(), Error<DeleteSsoUserError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

DELETE /accounts/sso/{organizationId}
Source§

fn get_account_revision_date<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<i64, Error<GetAccountRevisionDateError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

GET /accounts/revision-date
Source§

fn get_keys<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<KeysResponseModel, Error<GetKeysError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

GET /accounts/keys
Source§

fn get_organizations<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<ProfileOrganizationResponseModelListResponseModel, Error<GetOrganizationsError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

GET /accounts/organizations
Source§

fn get_profile<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<ProfileResponseModel, Error<GetProfileError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

GET /accounts/profile
Source§

fn get_sso_user_identifier<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<String, Error<GetSsoUserIdentifierError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

GET /accounts/sso/user-identifier
Source§

fn get_subscription<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<SubscriptionResponseModel, Error<GetSubscriptionError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

GET /accounts/subscription
Source§

fn get_tax_info<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<TaxInfoResponseModel, Error<GetTaxInfoError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

GET /accounts/tax
Source§

fn post_cancel<'a, 'life0, 'async_trait>( &'life0 self, subscription_cancellation_request_model: Option<SubscriptionCancellationRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PostCancelError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /accounts/cancel
Source§

fn post_delete_recover<'a, 'life0, 'async_trait>( &'life0 self, delete_recover_request_model: Option<DeleteRecoverRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PostDeleteRecoverError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /accounts/delete-recover
Source§

fn post_delete_recover_token<'a, 'life0, 'async_trait>( &'life0 self, verify_delete_recover_request_model: Option<VerifyDeleteRecoverRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PostDeleteRecoverTokenError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /accounts/delete-recover-token
Source§

fn post_email<'a, 'life0, 'async_trait>( &'life0 self, email_request_model: Option<EmailRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PostEmailError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /accounts/email
Source§

fn post_email_token<'a, 'life0, 'async_trait>( &'life0 self, email_token_request_model: Option<EmailTokenRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PostEmailTokenError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /accounts/email-token
Source§

fn post_kdf<'a, 'life0, 'async_trait>( &'life0 self, kdf_request_model: Option<KdfRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PostKdfError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /accounts/kdf
Source§

fn post_keys<'a, 'life0, 'async_trait>( &'life0 self, keys_request_model: Option<KeysRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<KeysResponseModel, Error<PostKeysError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /accounts/keys
Source§

fn post_license<'a, 'life0, 'async_trait>( &'life0 self, license: PathBuf, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PostLicenseError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /accounts/license
Source§

fn post_password<'a, 'life0, 'async_trait>( &'life0 self, password_request_model: Option<PasswordRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PostPasswordError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /accounts/password
Source§

fn post_password_hint<'a, 'life0, 'async_trait>( &'life0 self, password_hint_request_model: Option<PasswordHintRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PostPasswordHintError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /accounts/password-hint
Source§

fn post_payment<'a, 'life0, 'async_trait>( &'life0 self, payment_request_model: Option<PaymentRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PostPaymentError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /accounts/payment
Source§

fn post_premium<'a, 'life0, 'async_trait>( &'life0 self, payment_method_type: PaymentMethodType, payment_token: Option<&'a str>, additional_storage_gb: Option<i32>, country: Option<&'a str>, postal_code: Option<&'a str>, license: Option<PathBuf>, ) -> Pin<Box<dyn Future<Output = Result<PaymentResponseModel, Error<PostPremiumError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /accounts/premium
Source§

fn post_reinstate<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PostReinstateError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

POST /accounts/reinstate-premium
Source§

fn post_request_otp<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PostRequestOTPError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

POST /accounts/request-otp
Source§

fn post_security_stamp<'a, 'life0, 'async_trait>( &'life0 self, secret_verification_request_model: Option<SecretVerificationRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PostSecurityStampError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /accounts/security-stamp
Source§

fn post_set_password<'a, 'life0, 'async_trait>( &'life0 self, set_password_request_model: Option<SetPasswordRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PostSetPasswordError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /accounts/set-password
Source§

fn post_storage<'a, 'life0, 'async_trait>( &'life0 self, storage_request_model: Option<StorageRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<PaymentResponseModel, Error<PostStorageError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /accounts/storage
Source§

fn post_verify_email<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PostVerifyEmailError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

POST /accounts/verify-email
Source§

fn post_verify_email_token<'a, 'life0, 'async_trait>( &'life0 self, verify_email_request_model: Option<VerifyEmailRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PostVerifyEmailTokenError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /accounts/verify-email-token
Source§

fn post_verify_password<'a, 'life0, 'async_trait>( &'life0 self, secret_verification_request_model: Option<SecretVerificationRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<MasterPasswordPolicyResponseModel, Error<PostVerifyPasswordError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /accounts/verify-password
Source§

fn put_avatar<'a, 'life0, 'async_trait>( &'life0 self, update_avatar_request_model: Option<UpdateAvatarRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<ProfileResponseModel, Error<PutAvatarError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PUT /accounts/avatar
Source§

fn put_profile<'a, 'life0, 'async_trait>( &'life0 self, update_profile_request_model: Option<UpdateProfileRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<ProfileResponseModel, Error<PutProfileError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PUT /accounts/profile
Source§

fn put_tax_info<'a, 'life0, 'async_trait>( &'life0 self, tax_info_update_request_model: Option<TaxInfoUpdateRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PutTaxInfoError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PUT /accounts/tax
Source§

fn put_update_tde_password<'a, 'life0, 'async_trait>( &'life0 self, update_tde_offboarding_password_request_model: Option<UpdateTdeOffboardingPasswordRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PutUpdateTdePasswordError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PUT /accounts/update-tde-offboarding-password
Source§

fn put_update_temp_password<'a, 'life0, 'async_trait>( &'life0 self, update_temp_password_request_model: Option<UpdateTempPasswordRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<PutUpdateTempPasswordError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PUT /accounts/update-temp-password
Source§

fn resend_new_device_otp<'a, 'life0, 'async_trait>( &'life0 self, unauthenticated_secret_verification_request_model: Option<UnauthenticatedSecretVerificationRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<ResendNewDeviceOtpError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /accounts/resend-new-device-otp
Source§

fn rotate_api_key<'a, 'life0, 'async_trait>( &'life0 self, secret_verification_request_model: Option<SecretVerificationRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<ApiKeyResponseModel, Error<RotateApiKeyError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /accounts/rotate-api-key
Source§

fn set_user_verify_devices<'a, 'life0, 'async_trait>( &'life0 self, set_verify_devices_request_model: Option<SetVerifyDevicesRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<SetUserVerifyDevicesError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

PUT /accounts/verify-devices
Source§

fn verify_otp<'a, 'life0, 'async_trait>( &'life0 self, verify_otp_request_model: Option<VerifyOtpRequestModel>, ) -> Pin<Box<dyn Future<Output = Result<(), Error<VerifyOTPError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'a: 'async_trait, 'life0: 'async_trait,

POST /accounts/verify-otp

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,