pub struct MockAccountsKeyManagementApi {
AccountsKeyManagementApi_expectations: MockAccountsKeyManagementApi_AccountsKeyManagementApi,
}Fields§
§AccountsKeyManagementApi_expectations: MockAccountsKeyManagementApi_AccountsKeyManagementApiImplementations§
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_get_key_connector_confirmation_details(
&mut self,
) -> &mut Expectation
pub fn expect_get_key_connector_confirmation_details( &mut self, ) -> &mut Expectation
Create an Expectation for mocking the get_key_connector_confirmation_details method
Sourcepub fn expect_password_change_and_rotate_user_account_keys(
&mut self,
) -> &mut Expectation
pub fn expect_password_change_and_rotate_user_account_keys( &mut self, ) -> &mut Expectation
Create an Expectation for mocking the password_change_and_rotate_user_account_keys method
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_enroll_to_key_connector(&mut self) -> &mut Expectation
pub fn expect_post_enroll_to_key_connector(&mut self) -> &mut Expectation
Create an Expectation for mocking the post_enroll_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_keys(&mut self) -> &mut Expectation
pub fn expect_rotate_user_keys(&mut self) -> &mut Expectation
Create an Expectation for mocking the rotate_user_keys method
Trait Implementations§
Source§impl AccountsKeyManagementApi for MockAccountsKeyManagementApi
impl AccountsKeyManagementApi for MockAccountsKeyManagementApi
Source§fn get_key_connector_confirmation_details<'a, 'life0, 'async_trait>(
&'life0 self,
org_sso_identifier: &'a str,
) -> Pin<Box<dyn Future<Output = Result<KeyConnectorConfirmationDetailsResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_key_connector_confirmation_details<'a, 'life0, 'async_trait>(
&'life0 self,
org_sso_identifier: &'a str,
) -> Pin<Box<dyn Future<Output = Result<KeyConnectorConfirmationDetailsResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /accounts/key-connector/confirmation-details/{orgSsoIdentifier}
Source§fn password_change_and_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>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn password_change_and_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>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /accounts/key-management/rotate-user-account-keys
Source§fn post_convert_to_key_connector<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + 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>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
POST /accounts/convert-to-key-connector
Source§fn post_enroll_to_key_connector<'a, 'life0, 'async_trait>(
&'life0 self,
key_connector_enrollment_request_model: Option<KeyConnectorEnrollmentRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_enroll_to_key_connector<'a, 'life0, 'async_trait>(
&'life0 self,
key_connector_enrollment_request_model: Option<KeyConnectorEnrollmentRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /accounts/key-connector/enroll
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>> + 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>> + 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>> + 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>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /accounts/key-management/regenerate-keys
Source§fn rotate_user_keys<'a, 'life0, 'async_trait>(
&'life0 self,
rotate_user_keys_request_model: Option<RotateUserKeysRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn rotate_user_keys<'a, 'life0, 'async_trait>(
&'life0 self,
rotate_user_keys_request_model: Option<RotateUserKeysRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /accounts/key-management/rotate-user-keys
Source§impl Debug for MockAccountsKeyManagementApi
impl Debug for MockAccountsKeyManagementApi
Auto Trait Implementations§
impl Freeze for MockAccountsKeyManagementApi
impl RefUnwindSafe for MockAccountsKeyManagementApi
impl Send for MockAccountsKeyManagementApi
impl Sync for MockAccountsKeyManagementApi
impl Unpin for MockAccountsKeyManagementApi
impl UnsafeUnpin for MockAccountsKeyManagementApi
impl UnwindSafe for MockAccountsKeyManagementApi
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