pub struct MockAccountsApi {
AccountsApi_expectations: MockAccountsApi_AccountsApi,
}Fields§
§AccountsApi_expectations: MockAccountsApi_AccountsApiImplementations§
Source§impl MockAccountsApi
impl MockAccountsApi
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 MockAccountsApi
impl MockAccountsApi
Sourcepub fn expect_api_key(&mut self) -> &mut Expectation
pub fn expect_api_key(&mut self) -> &mut Expectation
Create an Expectation for mocking the api_key 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_sso_user(&mut self) -> &mut Expectation
pub fn expect_delete_sso_user(&mut self) -> &mut Expectation
Create an Expectation for mocking the delete_sso_user method
Sourcepub fn expect_get_account_revision_date(&mut self) -> &mut Expectation
pub fn expect_get_account_revision_date(&mut self) -> &mut Expectation
Create an Expectation for mocking the get_account_revision_date method
Sourcepub fn expect_get_keys(&mut self) -> &mut Expectation
pub fn expect_get_keys(&mut self) -> &mut Expectation
Create an Expectation for mocking the get_keys method
Sourcepub fn expect_get_organizations(&mut self) -> &mut Expectation
pub fn expect_get_organizations(&mut self) -> &mut Expectation
Create an Expectation for mocking the get_organizations method
Sourcepub fn expect_get_profile(&mut self) -> &mut Expectation
pub fn expect_get_profile(&mut self) -> &mut Expectation
Create an Expectation for mocking the get_profile method
Sourcepub fn expect_get_sso_user_identifier(&mut self) -> &mut Expectation
pub fn expect_get_sso_user_identifier(&mut self) -> &mut Expectation
Create an Expectation for mocking the get_sso_user_identifier method
Sourcepub fn expect_get_subscription(&mut self) -> &mut Expectation
pub fn expect_get_subscription(&mut self) -> &mut Expectation
Create an Expectation for mocking the get_subscription method
Sourcepub fn expect_post_cancel(&mut self) -> &mut Expectation
pub fn expect_post_cancel(&mut self) -> &mut Expectation
Create an Expectation for mocking the post_cancel method
Sourcepub fn expect_post_delete_recover(&mut self) -> &mut Expectation
pub fn expect_post_delete_recover(&mut self) -> &mut Expectation
Create an Expectation for mocking the post_delete_recover method
Sourcepub fn expect_post_delete_recover_token(&mut self) -> &mut Expectation
pub fn expect_post_delete_recover_token(&mut self) -> &mut Expectation
Create an Expectation for mocking the post_delete_recover_token method
Sourcepub fn expect_post_email(&mut self) -> &mut Expectation
pub fn expect_post_email(&mut self) -> &mut Expectation
Create an Expectation for mocking the post_email method
Sourcepub fn expect_post_email_token(&mut self) -> &mut Expectation
pub fn expect_post_email_token(&mut self) -> &mut Expectation
Create an Expectation for mocking the post_email_token method
Sourcepub fn expect_post_kdf(&mut self) -> &mut Expectation
pub fn expect_post_kdf(&mut self) -> &mut Expectation
Create an Expectation for mocking the post_kdf method
Sourcepub fn expect_post_keys(&mut self) -> &mut Expectation
pub fn expect_post_keys(&mut self) -> &mut Expectation
Create an Expectation for mocking the post_keys method
Sourcepub fn expect_post_license(&mut self) -> &mut Expectation
pub fn expect_post_license(&mut self) -> &mut Expectation
Create an Expectation for mocking the post_license method
Sourcepub fn expect_post_password(&mut self) -> &mut Expectation
pub fn expect_post_password(&mut self) -> &mut Expectation
Create an Expectation for mocking the post_password method
Sourcepub fn expect_post_password_hint(&mut self) -> &mut Expectation
pub fn expect_post_password_hint(&mut self) -> &mut Expectation
Create an Expectation for mocking the post_password_hint method
Sourcepub fn expect_post_request_otp(&mut self) -> &mut Expectation
pub fn expect_post_request_otp(&mut self) -> &mut Expectation
Create an Expectation for mocking the post_request_otp method
Sourcepub fn expect_post_security_stamp(&mut self) -> &mut Expectation
pub fn expect_post_security_stamp(&mut self) -> &mut Expectation
Create an Expectation for mocking the post_security_stamp method
Sourcepub fn expect_post_set_password(&mut self) -> &mut Expectation
pub fn expect_post_set_password(&mut self) -> &mut Expectation
Create an Expectation for mocking the post_set_password method
Sourcepub fn expect_post_verify_email(&mut self) -> &mut Expectation
pub fn expect_post_verify_email(&mut self) -> &mut Expectation
Create an Expectation for mocking the post_verify_email method
Sourcepub fn expect_post_verify_email_token(&mut self) -> &mut Expectation
pub fn expect_post_verify_email_token(&mut self) -> &mut Expectation
Create an Expectation for mocking the post_verify_email_token method
Sourcepub fn expect_post_verify_password(&mut self) -> &mut Expectation
pub fn expect_post_verify_password(&mut self) -> &mut Expectation
Create an Expectation for mocking the post_verify_password method
Sourcepub fn expect_put_avatar(&mut self) -> &mut Expectation
pub fn expect_put_avatar(&mut self) -> &mut Expectation
Create an Expectation for mocking the put_avatar method
Sourcepub fn expect_put_profile(&mut self) -> &mut Expectation
pub fn expect_put_profile(&mut self) -> &mut Expectation
Create an Expectation for mocking the put_profile method
Sourcepub fn expect_put_update_tde_password(&mut self) -> &mut Expectation
pub fn expect_put_update_tde_password(&mut self) -> &mut Expectation
Create an Expectation for mocking the put_update_tde_password method
Sourcepub fn expect_put_update_temp_password(&mut self) -> &mut Expectation
pub fn expect_put_update_temp_password(&mut self) -> &mut Expectation
Create an Expectation for mocking the put_update_temp_password method
Sourcepub fn expect_resend_new_device_otp(&mut self) -> &mut Expectation
pub fn expect_resend_new_device_otp(&mut self) -> &mut Expectation
Create an Expectation for mocking the resend_new_device_otp method
Sourcepub fn expect_rotate_api_key(&mut self) -> &mut Expectation
pub fn expect_rotate_api_key(&mut self) -> &mut Expectation
Create an Expectation for mocking the rotate_api_key method
Sourcepub fn expect_set_user_verify_devices(&mut self) -> &mut Expectation
pub fn expect_set_user_verify_devices(&mut self) -> &mut Expectation
Create an Expectation for mocking the set_user_verify_devices method
Sourcepub fn expect_verify_otp(&mut self) -> &mut Expectation
pub fn expect_verify_otp(&mut self) -> &mut Expectation
Create an Expectation for mocking the verify_otp method
Trait Implementations§
Source§impl AccountsApi for MockAccountsApi
impl AccountsApi for MockAccountsApi
Source§fn api_key<'a, 'life0, 'async_trait>(
&'life0 self,
secret_verification_request_model: Option<SecretVerificationRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<ApiKeyResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn api_key<'a, 'life0, 'async_trait>(
&'life0 self,
secret_verification_request_model: Option<SecretVerificationRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<ApiKeyResponseModel, Error>> + 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>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn delete<'a, 'life0, 'async_trait>(
&'life0 self,
secret_verification_request_model: Option<SecretVerificationRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 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>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn delete_sso_user<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: &'a str,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 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>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_account_revision_date<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<i64, Error>> + 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>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_keys<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<KeysResponseModel, Error>> + 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>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_organizations<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<ProfileOrganizationResponseModelListResponseModel, Error>> + 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>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_profile<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<ProfileResponseModel, Error>> + 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>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_sso_user_identifier<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<String, Error>> + 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>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_subscription<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<SubscriptionResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
GET /accounts/subscription
Source§fn post_cancel<'a, 'life0, 'async_trait>(
&'life0 self,
subscription_cancellation_request_model: Option<SubscriptionCancellationRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_cancel<'a, 'life0, 'async_trait>(
&'life0 self,
subscription_cancellation_request_model: Option<SubscriptionCancellationRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 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>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_delete_recover<'a, 'life0, 'async_trait>(
&'life0 self,
delete_recover_request_model: Option<DeleteRecoverRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 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>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
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>> + 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>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_email<'a, 'life0, 'async_trait>(
&'life0 self,
email_request_model: Option<EmailRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 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>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_email_token<'a, 'life0, 'async_trait>(
&'life0 self,
email_token_request_model: Option<EmailTokenRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 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,
change_kdf_request_model: Option<ChangeKdfRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_kdf<'a, 'life0, 'async_trait>(
&'life0 self,
change_kdf_request_model: Option<ChangeKdfRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 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>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_keys<'a, 'life0, 'async_trait>(
&'life0 self,
keys_request_model: Option<KeysRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<KeysResponseModel, Error>> + 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>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_license<'a, 'life0, 'async_trait>(
&'life0 self,
license: PathBuf,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 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>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_password<'a, 'life0, 'async_trait>(
&'life0 self,
password_request_model: Option<PasswordRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 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>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_password_hint<'a, 'life0, 'async_trait>(
&'life0 self,
password_hint_request_model: Option<PasswordHintRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /accounts/password-hint
Source§fn post_request_otp<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn post_request_otp<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 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>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_security_stamp<'a, 'life0, 'async_trait>(
&'life0 self,
secret_verification_request_model: Option<SecretVerificationRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 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_initial_password_request_model: Option<SetInitialPasswordRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_set_password<'a, 'life0, 'async_trait>(
&'life0 self,
set_initial_password_request_model: Option<SetInitialPasswordRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /accounts/set-password
Source§fn post_verify_email<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn post_verify_email<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 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>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_verify_email_token<'a, 'life0, 'async_trait>(
&'life0 self,
verify_email_request_model: Option<VerifyEmailRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 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>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_verify_password<'a, 'life0, 'async_trait>(
&'life0 self,
secret_verification_request_model: Option<SecretVerificationRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<MasterPasswordPolicyResponseModel, Error>> + 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>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn put_avatar<'a, 'life0, 'async_trait>(
&'life0 self,
update_avatar_request_model: Option<UpdateAvatarRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<ProfileResponseModel, Error>> + 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>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn put_profile<'a, 'life0, 'async_trait>(
&'life0 self,
update_profile_request_model: Option<UpdateProfileRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<ProfileResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /accounts/profile
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>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
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>> + 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>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
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>> + 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>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
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>> + 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>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn rotate_api_key<'a, 'life0, 'async_trait>(
&'life0 self,
secret_verification_request_model: Option<SecretVerificationRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<ApiKeyResponseModel, Error>> + 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>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
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>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /accounts/verify-devices
Source§impl Debug for MockAccountsApi
impl Debug for MockAccountsApi
Auto Trait Implementations§
impl Freeze for MockAccountsApi
impl RefUnwindSafe for MockAccountsApi
impl Send for MockAccountsApi
impl Sync for MockAccountsApi
impl Unpin for MockAccountsApi
impl UnsafeUnpin for MockAccountsApi
impl UnwindSafe for MockAccountsApi
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Arc<> Read more