pub struct MockAccountsKeyManagementApi {
AccountsKeyManagementApi_expectations: MockAccountsKeyManagementApi_AccountsKeyManagementApi,
}
Fields§
§AccountsKeyManagementApi_expectations: MockAccountsKeyManagementApi_AccountsKeyManagementApi
Implementations§
Source§impl MockAccountsKeyManagementApi
impl MockAccountsKeyManagementApi
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 MockAccountsKeyManagementApi
impl MockAccountsKeyManagementApi
Sourcepub fn expect_post_convert_to_key_connector(&mut self) -> &mut Expectation
pub fn expect_post_convert_to_key_connector(&mut self) -> &mut Expectation
Create an Expectation
for mocking the post_convert_to_key_connector
method
Sourcepub fn expect_post_set_key_connector_key(&mut self) -> &mut Expectation
pub fn expect_post_set_key_connector_key(&mut self) -> &mut Expectation
Create an Expectation
for mocking the post_set_key_connector_key
method
Sourcepub fn expect_regenerate_keys(&mut self) -> &mut Expectation
pub fn expect_regenerate_keys(&mut self) -> &mut Expectation
Create an Expectation
for mocking the regenerate_keys
method
Sourcepub fn expect_rotate_user_account_keys(&mut self) -> &mut Expectation
pub fn expect_rotate_user_account_keys(&mut self) -> &mut Expectation
Create an Expectation
for mocking the rotate_user_account_keys
method
Trait Implementations§
Source§impl AccountsKeyManagementApi for MockAccountsKeyManagementApi
impl AccountsKeyManagementApi for MockAccountsKeyManagementApi
Source§fn post_convert_to_key_connector<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), Error<PostConvertToKeyConnectorError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn post_convert_to_key_connector<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), Error<PostConvertToKeyConnectorError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
POST /accounts/convert-to-key-connector
Source§fn post_set_key_connector_key<'a, 'life0, 'async_trait>(
&'life0 self,
set_key_connector_key_request_model: Option<SetKeyConnectorKeyRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<PostSetKeyConnectorKeyError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_set_key_connector_key<'a, 'life0, 'async_trait>(
&'life0 self,
set_key_connector_key_request_model: Option<SetKeyConnectorKeyRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<PostSetKeyConnectorKeyError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /accounts/set-key-connector-key
Source§fn regenerate_keys<'a, 'life0, 'async_trait>(
&'life0 self,
key_regeneration_request_model: Option<KeyRegenerationRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<RegenerateKeysError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn regenerate_keys<'a, 'life0, 'async_trait>(
&'life0 self,
key_regeneration_request_model: Option<KeyRegenerationRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<RegenerateKeysError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /accounts/key-management/regenerate-keys
Source§fn rotate_user_account_keys<'a, 'life0, 'async_trait>(
&'life0 self,
rotate_user_account_keys_and_data_request_model: Option<RotateUserAccountKeysAndDataRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<RotateUserAccountKeysError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn rotate_user_account_keys<'a, 'life0, 'async_trait>(
&'life0 self,
rotate_user_account_keys_and_data_request_model: Option<RotateUserAccountKeysAndDataRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error<RotateUserAccountKeysError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /accounts/key-management/rotate-user-account-keys