Struct ApiClientMock

Source
pub struct ApiClientMock {
Show 66 fields pub access_policies_api: MockAccessPoliciesApi, pub account_billing_v_next_api: MockAccountBillingVNextApi, pub accounts_api: MockAccountsApi, pub accounts_billing_api: MockAccountsBillingApi, pub accounts_key_management_api: MockAccountsKeyManagementApi, pub auth_requests_api: MockAuthRequestsApi, pub ciphers_api: MockCiphersApi, pub collections_api: MockCollectionsApi, pub config_api: MockConfigApi, pub counts_api: MockCountsApi, pub devices_api: MockDevicesApi, pub emergency_access_api: MockEmergencyAccessApi, pub events_api: MockEventsApi, pub folders_api: MockFoldersApi, pub groups_api: MockGroupsApi, pub hibp_api: MockHibpApi, pub import_ciphers_api: MockImportCiphersApi, pub info_api: MockInfoApi, pub installations_api: MockInstallationsApi, pub invoices_api: MockInvoicesApi, pub licenses_api: MockLicensesApi, pub misc_api: MockMiscApi, pub notifications_api: MockNotificationsApi, pub organization_auth_requests_api: MockOrganizationAuthRequestsApi, pub organization_billing_api: MockOrganizationBillingApi, pub organization_billing_v_next_api: MockOrganizationBillingVNextApi, pub organization_connections_api: MockOrganizationConnectionsApi, pub organization_domain_api: MockOrganizationDomainApi, pub organization_export_api: MockOrganizationExportApi, pub organization_integration_api: MockOrganizationIntegrationApi, pub organization_integration_configuration_api: MockOrganizationIntegrationConfigurationApi, pub organization_reports_api: MockOrganizationReportsApi, pub organization_sponsorships_api: MockOrganizationSponsorshipsApi, pub organization_users_api: MockOrganizationUsersApi, pub organizations_api: MockOrganizationsApi, pub phishing_domains_api: MockPhishingDomainsApi, pub plans_api: MockPlansApi, pub policies_api: MockPoliciesApi, pub projects_api: MockProjectsApi, pub provider_billing_api: MockProviderBillingApi, pub provider_billing_v_next_api: MockProviderBillingVNextApi, pub provider_clients_api: MockProviderClientsApi, pub provider_organizations_api: MockProviderOrganizationsApi, pub provider_users_api: MockProviderUsersApi, pub providers_api: MockProvidersApi, pub push_api: MockPushApi, pub reports_api: MockReportsApi, pub request_sm_access_api: MockRequestSmAccessApi, pub secrets_api: MockSecretsApi, pub secrets_manager_events_api: MockSecretsManagerEventsApi, pub secrets_manager_porting_api: MockSecretsManagerPortingApi, pub security_task_api: MockSecurityTaskApi, pub self_hosted_account_billing_api: MockSelfHostedAccountBillingApi, pub self_hosted_organization_licenses_api: MockSelfHostedOrganizationLicensesApi, pub self_hosted_organization_sponsorships_api: MockSelfHostedOrganizationSponsorshipsApi, pub sends_api: MockSendsApi, pub service_accounts_api: MockServiceAccountsApi, pub settings_api: MockSettingsApi, pub slack_integration_api: MockSlackIntegrationApi, pub stripe_api: MockStripeApi, pub sync_api: MockSyncApi, pub tax_api: MockTaxApi, pub trash_api: MockTrashApi, pub two_factor_api: MockTwoFactorApi, pub users_api: MockUsersApi, pub web_authn_api: MockWebAuthnApi,
}

Fields§

§access_policies_api: MockAccessPoliciesApi§account_billing_v_next_api: MockAccountBillingVNextApi§accounts_api: MockAccountsApi§accounts_billing_api: MockAccountsBillingApi§accounts_key_management_api: MockAccountsKeyManagementApi§auth_requests_api: MockAuthRequestsApi§ciphers_api: MockCiphersApi§collections_api: MockCollectionsApi§config_api: MockConfigApi§counts_api: MockCountsApi§devices_api: MockDevicesApi§emergency_access_api: MockEmergencyAccessApi§events_api: MockEventsApi§folders_api: MockFoldersApi§groups_api: MockGroupsApi§hibp_api: MockHibpApi§import_ciphers_api: MockImportCiphersApi§info_api: MockInfoApi§installations_api: MockInstallationsApi§invoices_api: MockInvoicesApi§licenses_api: MockLicensesApi§misc_api: MockMiscApi§notifications_api: MockNotificationsApi§organization_auth_requests_api: MockOrganizationAuthRequestsApi§organization_billing_api: MockOrganizationBillingApi§organization_billing_v_next_api: MockOrganizationBillingVNextApi§organization_connections_api: MockOrganizationConnectionsApi§organization_domain_api: MockOrganizationDomainApi§organization_export_api: MockOrganizationExportApi§organization_integration_api: MockOrganizationIntegrationApi§organization_integration_configuration_api: MockOrganizationIntegrationConfigurationApi§organization_reports_api: MockOrganizationReportsApi§organization_sponsorships_api: MockOrganizationSponsorshipsApi§organization_users_api: MockOrganizationUsersApi§organizations_api: MockOrganizationsApi§phishing_domains_api: MockPhishingDomainsApi§plans_api: MockPlansApi§policies_api: MockPoliciesApi§projects_api: MockProjectsApi§provider_billing_api: MockProviderBillingApi§provider_billing_v_next_api: MockProviderBillingVNextApi§provider_clients_api: MockProviderClientsApi§provider_organizations_api: MockProviderOrganizationsApi§provider_users_api: MockProviderUsersApi§providers_api: MockProvidersApi§push_api: MockPushApi§reports_api: MockReportsApi§request_sm_access_api: MockRequestSmAccessApi§secrets_api: MockSecretsApi§secrets_manager_events_api: MockSecretsManagerEventsApi§secrets_manager_porting_api: MockSecretsManagerPortingApi§security_task_api: MockSecurityTaskApi§self_hosted_account_billing_api: MockSelfHostedAccountBillingApi§self_hosted_organization_licenses_api: MockSelfHostedOrganizationLicensesApi§self_hosted_organization_sponsorships_api: MockSelfHostedOrganizationSponsorshipsApi§sends_api: MockSendsApi§service_accounts_api: MockServiceAccountsApi§settings_api: MockSettingsApi§slack_integration_api: MockSlackIntegrationApi§stripe_api: MockStripeApi§sync_api: MockSyncApi§tax_api: MockTaxApi§trash_api: MockTrashApi§two_factor_api: MockTwoFactorApi§users_api: MockUsersApi§web_authn_api: MockWebAuthnApi

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Any for T
where T: Any,

§

fn into_any(self: Box<T>) -> Box<dyn Any>

§

fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>

§

fn type_name(&self) -> &'static str

§

impl<T> AnySync for T
where T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T>) -> Arc<dyn Any + Send + Sync>

Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> PolicyExt for T
where T: ?Sized,

§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] only if self and other return Action::Follow. Read more
§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns [Action::Follow] if either self or other returns Action::Follow. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

impl<T> ErasedDestructor for T
where T: 'static,