pub struct MockOrganizationsApi {
OrganizationsApi_expectations: MockOrganizationsApi_OrganizationsApi,
}Fields§
§OrganizationsApi_expectations: MockOrganizationsApi_OrganizationsApiImplementations§
Source§impl MockOrganizationsApi
impl MockOrganizationsApi
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 MockOrganizationsApi
impl MockOrganizationsApi
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_api_key_information(&mut self) -> &mut Expectation
pub fn expect_api_key_information(&mut self) -> &mut Expectation
Create an Expectation for mocking the api_key_information method
Sourcepub fn expect_create_without_payment(&mut self) -> &mut Expectation
pub fn expect_create_without_payment(&mut self) -> &mut Expectation
Create an Expectation for mocking the create_without_payment 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_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_auto_enroll_status(&mut self) -> &mut Expectation
pub fn expect_get_auto_enroll_status(&mut self) -> &mut Expectation
Create an Expectation for mocking the get_auto_enroll_status method
Sourcepub fn expect_get_license(&mut self) -> &mut Expectation
pub fn expect_get_license(&mut self) -> &mut Expectation
Create an Expectation for mocking the get_license method
Sourcepub fn expect_get_public_key(&mut self) -> &mut Expectation
pub fn expect_get_public_key(&mut self) -> &mut Expectation
Create an Expectation for mocking the get_public_key method
Sourcepub fn expect_get_sso(&mut self) -> &mut Expectation
pub fn expect_get_sso(&mut self) -> &mut Expectation
Create an Expectation for mocking the get_sso 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_get_user(&mut self) -> &mut Expectation
pub fn expect_get_user(&mut self) -> &mut Expectation
Create an Expectation for mocking the get_user method
Sourcepub fn expect_leave(&mut self) -> &mut Expectation
pub fn expect_leave(&mut self) -> &mut Expectation
Create an Expectation for mocking the leave method
Sourcepub fn expect_post(&mut self) -> &mut Expectation
pub fn expect_post(&mut self) -> &mut Expectation
Create an Expectation for mocking the post 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_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_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_reinstate(&mut self) -> &mut Expectation
pub fn expect_post_reinstate(&mut self) -> &mut Expectation
Create an Expectation for mocking the post_reinstate method
Sourcepub fn expect_post_seat(&mut self) -> &mut Expectation
pub fn expect_post_seat(&mut self) -> &mut Expectation
Create an Expectation for mocking the post_seat method
Sourcepub fn expect_post_sm_subscription(&mut self) -> &mut Expectation
pub fn expect_post_sm_subscription(&mut self) -> &mut Expectation
Create an Expectation for mocking the post_sm_subscription method
Sourcepub fn expect_post_sso(&mut self) -> &mut Expectation
pub fn expect_post_sso(&mut self) -> &mut Expectation
Create an Expectation for mocking the post_sso method
Sourcepub fn expect_post_storage(&mut self) -> &mut Expectation
pub fn expect_post_storage(&mut self) -> &mut Expectation
Create an Expectation for mocking the post_storage method
Sourcepub fn expect_post_subscribe_secrets_manager(&mut self) -> &mut Expectation
pub fn expect_post_subscribe_secrets_manager(&mut self) -> &mut Expectation
Create an Expectation for mocking the post_subscribe_secrets_manager method
Sourcepub fn expect_post_subscription(&mut self) -> &mut Expectation
pub fn expect_post_subscription(&mut self) -> &mut Expectation
Create an Expectation for mocking the post_subscription method
Sourcepub fn expect_post_upgrade(&mut self) -> &mut Expectation
pub fn expect_post_upgrade(&mut self) -> &mut Expectation
Create an Expectation for mocking the post_upgrade 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_collection_management(&mut self) -> &mut Expectation
pub fn expect_put_collection_management(&mut self) -> &mut Expectation
Create an Expectation for mocking the put_collection_management 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
Trait Implementations§
Source§impl Debug for MockOrganizationsApi
impl Debug for MockOrganizationsApi
Source§impl Default for MockOrganizationsApi
impl Default for MockOrganizationsApi
Source§impl OrganizationsApi for MockOrganizationsApi
impl OrganizationsApi for MockOrganizationsApi
Source§fn api_key<'a, 'life0, 'async_trait>(
&'life0 self,
id: &'a str,
organization_api_key_request_model: Option<OrganizationApiKeyRequestModel>,
) -> 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,
id: &'a str,
organization_api_key_request_model: Option<OrganizationApiKeyRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<ApiKeyResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/{id}/api-key
Source§fn api_key_information<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
type: OrganizationApiKeyType,
) -> Pin<Box<dyn Future<Output = Result<OrganizationApiKeyInformationListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn api_key_information<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
type: OrganizationApiKeyType,
) -> Pin<Box<dyn Future<Output = Result<OrganizationApiKeyInformationListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /organizations/{id}/api-key-information/{type}
Source§fn create_without_payment<'a, 'life0, 'async_trait>(
&'life0 self,
organization_no_payment_create_request: Option<OrganizationNoPaymentCreateRequest>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn create_without_payment<'a, 'life0, 'async_trait>(
&'life0 self,
organization_no_payment_create_request: Option<OrganizationNoPaymentCreateRequest>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/create-without-payment
Source§fn delete<'a, 'life0, 'async_trait>(
&'life0 self,
id: &'a str,
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,
id: &'a str,
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 /organizations/{id}
Source§fn get<'a, 'life0, 'async_trait>(
&'life0 self,
id: &'a str,
) -> Pin<Box<dyn Future<Output = Result<OrganizationResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get<'a, 'life0, 'async_trait>(
&'life0 self,
id: &'a str,
) -> Pin<Box<dyn Future<Output = Result<OrganizationResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /organizations/{id}
Source§fn get_auto_enroll_status<'a, 'life0, 'async_trait>(
&'life0 self,
identifier: &'a str,
) -> Pin<Box<dyn Future<Output = Result<OrganizationAutoEnrollStatusResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_auto_enroll_status<'a, 'life0, 'async_trait>(
&'life0 self,
identifier: &'a str,
) -> Pin<Box<dyn Future<Output = Result<OrganizationAutoEnrollStatusResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /organizations/{identifier}/auto-enroll-status
Source§fn get_license<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
installation_id: Option<Uuid>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationLicense, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_license<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
installation_id: Option<Uuid>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationLicense, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /organizations/{id}/license
Source§fn get_public_key<'a, 'life0, 'async_trait>(
&'life0 self,
id: &'a str,
) -> Pin<Box<dyn Future<Output = Result<OrganizationPublicKeyResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_public_key<'a, 'life0, 'async_trait>(
&'life0 self,
id: &'a str,
) -> Pin<Box<dyn Future<Output = Result<OrganizationPublicKeyResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /organizations/{id}/public-key
Source§fn get_sso<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<OrganizationSsoResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_sso<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<OrganizationSsoResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /organizations/{id}/sso
Source§fn get_subscription<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<OrganizationSubscriptionResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_subscription<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<OrganizationSubscriptionResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /organizations/{id}/subscription
Source§fn get_user<'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_user<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<ProfileOrganizationResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
GET /organizations
Source§fn leave<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn leave<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/{id}/leave
Source§fn post<'a, 'life0, 'async_trait>(
&'life0 self,
organization_create_request_model: Option<OrganizationCreateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post<'a, 'life0, 'async_trait>(
&'life0 self,
organization_create_request_model: Option<OrganizationCreateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations
Source§fn post_cancel<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
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,
id: Uuid,
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 /organizations/{id}/cancel
Source§fn post_delete_recover_token<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
organization_verify_delete_recover_request_model: Option<OrganizationVerifyDeleteRecoverRequestModel>,
) -> 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,
id: Uuid,
organization_verify_delete_recover_request_model: Option<OrganizationVerifyDeleteRecoverRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/{id}/delete-recover-token
Source§fn post_keys<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
organization_keys_request_model: Option<OrganizationKeysRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationKeysResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_keys<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
organization_keys_request_model: Option<OrganizationKeysRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationKeysResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/{id}/keys
Source§fn post_reinstate<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_reinstate<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/{id}/reinstate
Source§fn post_seat<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
organization_seat_request_model: Option<OrganizationSeatRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<PaymentResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_seat<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
organization_seat_request_model: Option<OrganizationSeatRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<PaymentResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/{id}/seat
Source§fn post_sm_subscription<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
secrets_manager_subscription_update_request_model: Option<SecretsManagerSubscriptionUpdateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<ProfileOrganizationResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_sm_subscription<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
secrets_manager_subscription_update_request_model: Option<SecretsManagerSubscriptionUpdateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<ProfileOrganizationResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/{id}/sm-subscription
Source§fn post_sso<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
organization_sso_request_model: Option<OrganizationSsoRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationSsoResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_sso<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
organization_sso_request_model: Option<OrganizationSsoRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationSsoResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/{id}/sso
Source§fn post_storage<'a, 'life0, 'async_trait>(
&'life0 self,
id: &'a str,
storage_request_model: Option<StorageRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<PaymentResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_storage<'a, 'life0, 'async_trait>(
&'life0 self,
id: &'a str,
storage_request_model: Option<StorageRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<PaymentResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/{id}/storage
Source§fn post_subscribe_secrets_manager<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
secrets_manager_subscribe_request_model: Option<SecretsManagerSubscribeRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<ProfileOrganizationResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_subscribe_secrets_manager<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
secrets_manager_subscribe_request_model: Option<SecretsManagerSubscribeRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<ProfileOrganizationResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/{id}/subscribe-secrets-manager
Source§fn post_subscription<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
organization_subscription_update_request_model: Option<OrganizationSubscriptionUpdateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<ProfileOrganizationResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_subscription<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
organization_subscription_update_request_model: Option<OrganizationSubscriptionUpdateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<ProfileOrganizationResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/{id}/subscription
Source§fn post_upgrade<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
organization_upgrade_request_model: Option<OrganizationUpgradeRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<PaymentResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn post_upgrade<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
organization_upgrade_request_model: Option<OrganizationUpgradeRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<PaymentResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/{id}/upgrade
Source§fn put<'a, 'life0, 'async_trait>(
&'life0 self,
organization_id: Uuid,
organization_update_request_model: Option<OrganizationUpdateRequestModel>,
) -> 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,
organization_id: Uuid,
organization_update_request_model: Option<OrganizationUpdateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /organizations/{organizationId}
Source§fn put_collection_management<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
organization_collection_management_update_request_model: Option<OrganizationCollectionManagementUpdateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn put_collection_management<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
organization_collection_management_update_request_model: Option<OrganizationCollectionManagementUpdateRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
PUT /organizations/{id}/collection-management
Source§fn rotate_api_key<'a, 'life0, 'async_trait>(
&'life0 self,
id: &'a str,
organization_api_key_request_model: Option<OrganizationApiKeyRequestModel>,
) -> 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,
id: &'a str,
organization_api_key_request_model: Option<OrganizationApiKeyRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<ApiKeyResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/{id}/rotate-api-key
Auto Trait Implementations§
impl Freeze for MockOrganizationsApi
impl RefUnwindSafe for MockOrganizationsApi
impl Send for MockOrganizationsApi
impl Sync for MockOrganizationsApi
impl Unpin for MockOrganizationsApi
impl UnsafeUnpin for MockOrganizationsApi
impl UnwindSafe for MockOrganizationsApi
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