Enum ApiClient

Source
pub enum ApiClient {
    Real(ApiClientReal),
    Mock(ApiClientMock),
}

Variants§

Implementations§

Source§

impl ApiClient

Source

pub fn new(configuration: &Arc<Configuration>) -> Self

Source

pub fn new_mocked(func: impl FnOnce(&mut ApiClientMock)) -> Self

Source§

impl ApiClient

Source

pub fn access_policies_api(&self) -> &dyn AccessPoliciesApi

Source

pub fn account_billing_v_next_api(&self) -> &dyn AccountBillingVNextApi

Source

pub fn accounts_api(&self) -> &dyn AccountsApi

Source

pub fn accounts_billing_api(&self) -> &dyn AccountsBillingApi

Source

pub fn accounts_key_management_api(&self) -> &dyn AccountsKeyManagementApi

Source

pub fn auth_requests_api(&self) -> &dyn AuthRequestsApi

Source

pub fn ciphers_api(&self) -> &dyn CiphersApi

Source

pub fn collections_api(&self) -> &dyn CollectionsApi

Source

pub fn config_api(&self) -> &dyn ConfigApi

Source

pub fn counts_api(&self) -> &dyn CountsApi

Source

pub fn devices_api(&self) -> &dyn DevicesApi

Source

pub fn emergency_access_api(&self) -> &dyn EmergencyAccessApi

Source

pub fn events_api(&self) -> &dyn EventsApi

Source

pub fn folders_api(&self) -> &dyn FoldersApi

Source

pub fn groups_api(&self) -> &dyn GroupsApi

Source

pub fn hibp_api(&self) -> &dyn HibpApi

Source

pub fn import_ciphers_api(&self) -> &dyn ImportCiphersApi

Source

pub fn info_api(&self) -> &dyn InfoApi

Source

pub fn installations_api(&self) -> &dyn InstallationsApi

Source

pub fn invoices_api(&self) -> &dyn InvoicesApi

Source

pub fn licenses_api(&self) -> &dyn LicensesApi

Source

pub fn misc_api(&self) -> &dyn MiscApi

Source

pub fn notifications_api(&self) -> &dyn NotificationsApi

Source

pub fn organization_auth_requests_api(&self) -> &dyn OrganizationAuthRequestsApi

Source

pub fn organization_billing_api(&self) -> &dyn OrganizationBillingApi

Source

pub fn organization_billing_v_next_api( &self, ) -> &dyn OrganizationBillingVNextApi

Source

pub fn organization_connections_api(&self) -> &dyn OrganizationConnectionsApi

Source

pub fn organization_domain_api(&self) -> &dyn OrganizationDomainApi

Source

pub fn organization_export_api(&self) -> &dyn OrganizationExportApi

Source

pub fn organization_integration_api(&self) -> &dyn OrganizationIntegrationApi

Source

pub fn organization_integration_configuration_api( &self, ) -> &dyn OrganizationIntegrationConfigurationApi

Source

pub fn organization_reports_api(&self) -> &dyn OrganizationReportsApi

Source

pub fn organization_sponsorships_api(&self) -> &dyn OrganizationSponsorshipsApi

Source

pub fn organization_users_api(&self) -> &dyn OrganizationUsersApi

Source

pub fn organizations_api(&self) -> &dyn OrganizationsApi

Source

pub fn phishing_domains_api(&self) -> &dyn PhishingDomainsApi

Source

pub fn plans_api(&self) -> &dyn PlansApi

Source

pub fn policies_api(&self) -> &dyn PoliciesApi

Source

pub fn projects_api(&self) -> &dyn ProjectsApi

Source

pub fn provider_billing_api(&self) -> &dyn ProviderBillingApi

Source

pub fn provider_billing_v_next_api(&self) -> &dyn ProviderBillingVNextApi

Source

pub fn provider_clients_api(&self) -> &dyn ProviderClientsApi

Source

pub fn provider_organizations_api(&self) -> &dyn ProviderOrganizationsApi

Source

pub fn provider_users_api(&self) -> &dyn ProviderUsersApi

Source

pub fn providers_api(&self) -> &dyn ProvidersApi

Source

pub fn push_api(&self) -> &dyn PushApi

Source

pub fn reports_api(&self) -> &dyn ReportsApi

Source

pub fn request_sm_access_api(&self) -> &dyn RequestSmAccessApi

Source

pub fn secrets_api(&self) -> &dyn SecretsApi

Source

pub fn secrets_manager_events_api(&self) -> &dyn SecretsManagerEventsApi

Source

pub fn secrets_manager_porting_api(&self) -> &dyn SecretsManagerPortingApi

Source

pub fn security_task_api(&self) -> &dyn SecurityTaskApi

Source

pub fn self_hosted_account_billing_api( &self, ) -> &dyn SelfHostedAccountBillingApi

Source

pub fn self_hosted_organization_licenses_api( &self, ) -> &dyn SelfHostedOrganizationLicensesApi

Source

pub fn self_hosted_organization_sponsorships_api( &self, ) -> &dyn SelfHostedOrganizationSponsorshipsApi

Source

pub fn sends_api(&self) -> &dyn SendsApi

Source

pub fn service_accounts_api(&self) -> &dyn ServiceAccountsApi

Source

pub fn settings_api(&self) -> &dyn SettingsApi

Source

pub fn slack_integration_api(&self) -> &dyn SlackIntegrationApi

Source

pub fn stripe_api(&self) -> &dyn StripeApi

Source

pub fn sync_api(&self) -> &dyn SyncApi

Source

pub fn tax_api(&self) -> &dyn TaxApi

Source

pub fn trash_api(&self) -> &dyn TrashApi

Source

pub fn two_factor_api(&self) -> &dyn TwoFactorApi

Source

pub fn users_api(&self) -> &dyn UsersApi

Source

pub fn web_authn_api(&self) -> &dyn WebAuthnApi

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,