pub struct MockOrganizationUsersApi {
OrganizationUsersApi_expectations: MockOrganizationUsersApi_OrganizationUsersApi,
}Fields§
§OrganizationUsersApi_expectations: MockOrganizationUsersApi_OrganizationUsersApiImplementations§
Source§impl MockOrganizationUsersApi
impl MockOrganizationUsersApi
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 MockOrganizationUsersApi
impl MockOrganizationUsersApi
Sourcepub fn expect_accept(&mut self) -> &mut Expectation
pub fn expect_accept(&mut self) -> &mut Expectation
Create an Expectation for mocking the accept method
Sourcepub fn expect_accept_init(&mut self) -> &mut Expectation
pub fn expect_accept_init(&mut self) -> &mut Expectation
Create an Expectation for mocking the accept_init method
Sourcepub fn expect_automatically_confirm_organization_user(
&mut self,
) -> &mut Expectation
pub fn expect_automatically_confirm_organization_user( &mut self, ) -> &mut Expectation
Create an Expectation for mocking the automatically_confirm_organization_user method
Sourcepub fn expect_bulk_automatically_confirm_organization_users(
&mut self,
) -> &mut Expectation
pub fn expect_bulk_automatically_confirm_organization_users( &mut self, ) -> &mut Expectation
Create an Expectation for mocking the bulk_automatically_confirm_organization_users method
Sourcepub fn expect_bulk_confirm(&mut self) -> &mut Expectation
pub fn expect_bulk_confirm(&mut self) -> &mut Expectation
Create an Expectation for mocking the bulk_confirm method
Sourcepub fn expect_bulk_delete_account(&mut self) -> &mut Expectation
pub fn expect_bulk_delete_account(&mut self) -> &mut Expectation
Create an Expectation for mocking the bulk_delete_account method
Sourcepub fn expect_bulk_enable_secrets_manager(&mut self) -> &mut Expectation
pub fn expect_bulk_enable_secrets_manager(&mut self) -> &mut Expectation
Create an Expectation for mocking the bulk_enable_secrets_manager method
Sourcepub fn expect_bulk_reinvite(&mut self) -> &mut Expectation
pub fn expect_bulk_reinvite(&mut self) -> &mut Expectation
Create an Expectation for mocking the bulk_reinvite method
Sourcepub fn expect_bulk_remove(&mut self) -> &mut Expectation
pub fn expect_bulk_remove(&mut self) -> &mut Expectation
Create an Expectation for mocking the bulk_remove method
Sourcepub fn expect_bulk_restore(&mut self) -> &mut Expectation
pub fn expect_bulk_restore(&mut self) -> &mut Expectation
Create an Expectation for mocking the bulk_restore method
Sourcepub fn expect_bulk_revoke(&mut self) -> &mut Expectation
pub fn expect_bulk_revoke(&mut self) -> &mut Expectation
Create an Expectation for mocking the bulk_revoke method
Sourcepub fn expect_confirm(&mut self) -> &mut Expectation
pub fn expect_confirm(&mut self) -> &mut Expectation
Create an Expectation for mocking the confirm method
Sourcepub fn expect_delete_account(&mut self) -> &mut Expectation
pub fn expect_delete_account(&mut self) -> &mut Expectation
Create an Expectation for mocking the delete_account method
Sourcepub fn expect_get(&mut self) -> &mut Expectation
pub fn expect_get(&mut self) -> &mut Expectation
Create an Expectation for mocking the get method
Sourcepub fn expect_get_account_recovery_details(&mut self) -> &mut Expectation
pub fn expect_get_account_recovery_details(&mut self) -> &mut Expectation
Create an Expectation for mocking the get_account_recovery_details method
Sourcepub fn expect_get_all(&mut self) -> &mut Expectation
pub fn expect_get_all(&mut self) -> &mut Expectation
Create an Expectation for mocking the get_all method
Sourcepub fn expect_get_mini_details(&mut self) -> &mut Expectation
pub fn expect_get_mini_details(&mut self) -> &mut Expectation
Create an Expectation for mocking the get_mini_details method
Sourcepub fn expect_get_pending_auto_confirm_users(&mut self) -> &mut Expectation
pub fn expect_get_pending_auto_confirm_users(&mut self) -> &mut Expectation
Create an Expectation for mocking the get_pending_auto_confirm_users method
Sourcepub fn expect_get_reset_password_details(&mut self) -> &mut Expectation
pub fn expect_get_reset_password_details(&mut self) -> &mut Expectation
Create an Expectation for mocking the get_reset_password_details method
Sourcepub fn expect_invite(&mut self) -> &mut Expectation
pub fn expect_invite(&mut self) -> &mut Expectation
Create an Expectation for mocking the invite method
Sourcepub fn expect_put(&mut self) -> &mut Expectation
pub fn expect_put(&mut self) -> &mut Expectation
Create an Expectation for mocking the put method
Sourcepub fn expect_put_recover_account(&mut self) -> &mut Expectation
pub fn expect_put_recover_account(&mut self) -> &mut Expectation
Create an Expectation for mocking the put_recover_account method
Sourcepub fn expect_put_reset_password(&mut self) -> &mut Expectation
pub fn expect_put_reset_password(&mut self) -> &mut Expectation
Create an Expectation for mocking the put_reset_password method
Sourcepub fn expect_put_reset_password_enrollment(&mut self) -> &mut Expectation
pub fn expect_put_reset_password_enrollment(&mut self) -> &mut Expectation
Create an Expectation for mocking the put_reset_password_enrollment method
Sourcepub fn expect_reinvite(&mut self) -> &mut Expectation
pub fn expect_reinvite(&mut self) -> &mut Expectation
Create an Expectation for mocking the reinvite method
Sourcepub fn expect_remove(&mut self) -> &mut Expectation
pub fn expect_remove(&mut self) -> &mut Expectation
Create an Expectation for mocking the remove method
Sourcepub fn expect_restore_async_v_next(&mut self) -> &mut Expectation
pub fn expect_restore_async_v_next(&mut self) -> &mut Expectation
Create an Expectation for mocking the restore_async_v_next method
Sourcepub fn expect_revoke(&mut self) -> &mut Expectation
pub fn expect_revoke(&mut self) -> &mut Expectation
Create an Expectation for mocking the revoke method
Sourcepub fn expect_revoke_self(&mut self) -> &mut Expectation
pub fn expect_revoke_self(&mut self) -> &mut Expectation
Create an Expectation for mocking the revoke_self method
Sourcepub fn expect_user_public_keys(&mut self) -> &mut Expectation
pub fn expect_user_public_keys(&mut self) -> &mut Expectation
Create an Expectation for mocking the user_public_keys method
Trait Implementations§
Source§impl Debug for MockOrganizationUsersApi
impl Debug for MockOrganizationUsersApi
Source§impl Default for MockOrganizationUsersApi
impl Default for MockOrganizationUsersApi
Source§impl OrganizationUsersApi for MockOrganizationUsersApi
impl OrganizationUsersApi for MockOrganizationUsersApi
Source§fn accept<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
organization_user_id: Uuid,
organization_user_accept_request_model: Option<OrganizationUserAcceptRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn accept<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
organization_user_id: Uuid,
organization_user_accept_request_model: Option<OrganizationUserAcceptRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/{orgId}/users/{organizationUserId}/accept
Source§fn accept_init<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
organization_user_id: Uuid,
organization_user_accept_init_request_model: Option<OrganizationUserAcceptInitRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn accept_init<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
organization_user_id: Uuid,
organization_user_accept_init_request_model: Option<OrganizationUserAcceptInitRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/{orgId}/users/{organizationUserId}/accept-init
Source§fn automatically_confirm_organization_user<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
id: Uuid,
organization_user_confirm_request_model: Option<OrganizationUserConfirmRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn automatically_confirm_organization_user<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
id: Uuid,
organization_user_confirm_request_model: Option<OrganizationUserConfirmRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/{orgId}/users/{id}/auto-confirm
Source§fn bulk_automatically_confirm_organization_users<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: &'a str,
organization: Option<Organization>,
organization_user_bulk_confirm_request_model: Option<OrganizationUserBulkConfirmRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationUserBulkResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn bulk_automatically_confirm_organization_users<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: &'a str,
organization: Option<Organization>,
organization_user_bulk_confirm_request_model: Option<OrganizationUserBulkConfirmRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationUserBulkResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/{orgId}/users/bulk-auto-confirm
Source§fn bulk_confirm<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
organization_user_bulk_confirm_request_model: Option<OrganizationUserBulkConfirmRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationUserBulkResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn bulk_confirm<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
organization_user_bulk_confirm_request_model: Option<OrganizationUserBulkConfirmRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationUserBulkResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/{orgId}/users/confirm
Source§fn bulk_delete_account<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
organization_user_bulk_request_model: Option<OrganizationUserBulkRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationUserBulkResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn bulk_delete_account<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
organization_user_bulk_request_model: Option<OrganizationUserBulkRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationUserBulkResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
DELETE /organizations/{orgId}/users/delete-account
Source§fn bulk_enable_secrets_manager<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
organization_user_bulk_request_model: Option<OrganizationUserBulkRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn bulk_enable_secrets_manager<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
organization_user_bulk_request_model: Option<OrganizationUserBulkRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /organizations/{orgId}/users/enable-secrets-manager
Source§fn bulk_reinvite<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
organization_user_bulk_request_model: Option<OrganizationUserBulkRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationUserBulkResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn bulk_reinvite<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
organization_user_bulk_request_model: Option<OrganizationUserBulkRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationUserBulkResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/{orgId}/users/reinvite
Source§fn bulk_remove<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
organization_user_bulk_request_model: Option<OrganizationUserBulkRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationUserBulkResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn bulk_remove<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
organization_user_bulk_request_model: Option<OrganizationUserBulkRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationUserBulkResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
DELETE /organizations/{orgId}/users
Source§fn bulk_restore<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
organization_user_bulk_request_model: Option<OrganizationUserBulkRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationUserBulkResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn bulk_restore<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
organization_user_bulk_request_model: Option<OrganizationUserBulkRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationUserBulkResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /organizations/{orgId}/users/restore
Source§fn bulk_revoke<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
organization_user_bulk_request_model: Option<OrganizationUserBulkRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationUserBulkResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn bulk_revoke<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
organization_user_bulk_request_model: Option<OrganizationUserBulkRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationUserBulkResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /organizations/{orgId}/users/revoke
Source§fn confirm<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
id: Uuid,
organization_user_confirm_request_model: Option<OrganizationUserConfirmRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn confirm<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
id: Uuid,
organization_user_confirm_request_model: Option<OrganizationUserConfirmRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/{orgId}/users/{id}/confirm
Source§fn delete_account<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn delete_account<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
DELETE /organizations/{orgId}/users/{id}/delete-account
Source§fn get<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
id: Uuid,
include_groups: Option<bool>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationUserDetailsResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
id: Uuid,
include_groups: Option<bool>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationUserDetailsResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /organizations/{orgId}/users/{id}
Source§fn get_account_recovery_details<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
organization_user_bulk_request_model: Option<OrganizationUserBulkRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationUserResetPasswordDetailsResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_account_recovery_details<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
organization_user_bulk_request_model: Option<OrganizationUserBulkRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationUserResetPasswordDetailsResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/{orgId}/users/account-recovery-details
Source§fn get_all<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
include_groups: Option<bool>,
include_collections: Option<bool>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationUserUserDetailsResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_all<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
include_groups: Option<bool>,
include_collections: Option<bool>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationUserUserDetailsResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /organizations/{orgId}/users
Source§fn get_mini_details<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<OrganizationUserUserMiniDetailsResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_mini_details<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<OrganizationUserUserMiniDetailsResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /organizations/{orgId}/users/mini-details
Source§fn get_pending_auto_confirm_users<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<OrganizationUserPendingAutoConfirmResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_pending_auto_confirm_users<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<OrganizationUserPendingAutoConfirmResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /organizations/{orgId}/users/pending-auto-confirm
Source§fn get_reset_password_details<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
org_id: &'a str,
organization: Option<Organization>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationUserResetPasswordDetailsResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_reset_password_details<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
org_id: &'a str,
organization: Option<Organization>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationUserResetPasswordDetailsResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /organizations/{orgId}/users/{id}/reset-password-details
Source§fn invite<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
organization_user_invite_request_model: Option<OrganizationUserInviteRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn invite<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
organization_user_invite_request_model: Option<OrganizationUserInviteRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/{orgId}/users/invite
Source§fn put<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
id: Uuid,
organization_user_update_request_model: Option<OrganizationUserUpdateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn put<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
id: Uuid,
organization_user_update_request_model: Option<OrganizationUserUpdateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /organizations/{orgId}/users/{id}
Source§fn put_recover_account<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
id: Uuid,
target_organization_user: Option<OrganizationUser>,
organization_user_reset_password_request_model: Option<OrganizationUserResetPasswordRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn put_recover_account<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
id: Uuid,
target_organization_user: Option<OrganizationUser>,
organization_user_reset_password_request_model: Option<OrganizationUserResetPasswordRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /organizations/{orgId}/users/{id}/recover-account
Source§fn put_reset_password<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
id: Uuid,
target_organization_user: Option<OrganizationUser>,
organization_user_reset_password_request_model: Option<OrganizationUserResetPasswordRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn put_reset_password<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
id: Uuid,
target_organization_user: Option<OrganizationUser>,
organization_user_reset_password_request_model: Option<OrganizationUserResetPasswordRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /organizations/{orgId}/users/{id}/reset-password
Source§fn put_reset_password_enrollment<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
user_id: Uuid,
organization_user_reset_password_enrollment_request_model: Option<OrganizationUserResetPasswordEnrollmentRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn put_reset_password_enrollment<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
user_id: Uuid,
organization_user_reset_password_enrollment_request_model: Option<OrganizationUserResetPasswordEnrollmentRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /organizations/{orgId}/users/{userId}/reset-password-enrollment
Source§fn reinvite<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn reinvite<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/{orgId}/users/{id}/reinvite
Source§fn remove<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn remove<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
DELETE /organizations/{orgId}/users/{id}
Source§fn restore_async_v_next<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
id: Uuid,
organization_user_restore_request: Option<OrganizationUserRestoreRequest>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn restore_async_v_next<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
id: Uuid,
organization_user_restore_request: Option<OrganizationUserRestoreRequest>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /organizations/{orgId}/users/{id}/restore/vnext
Source§fn revoke<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn revoke<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /organizations/{orgId}/users/{id}/revoke
Source§fn revoke_self<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn revoke_self<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /organizations/{orgId}/users/revoke-self
Source§fn user_public_keys<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
organization_user_bulk_request_model: Option<OrganizationUserBulkRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationUserPublicKeyResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn user_public_keys<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
organization_user_bulk_request_model: Option<OrganizationUserBulkRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationUserPublicKeyResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/{orgId}/users/public-keys
Auto Trait Implementations§
impl Freeze for MockOrganizationUsersApi
impl RefUnwindSafe for MockOrganizationUsersApi
impl Send for MockOrganizationUsersApi
impl Sync for MockOrganizationUsersApi
impl Unpin for MockOrganizationUsersApi
impl UnsafeUnpin for MockOrganizationUsersApi
impl UnwindSafe for MockOrganizationUsersApi
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