pub struct OrganizationPlan {Show 30 fields
pub product_tier_type: ProductTierType,
pub seats: Option<u32>,
pub max_collections: Option<u32>,
pub max_storage_gb: Option<u32>,
pub self_host: bool,
pub users_get_premium: bool,
pub use_policies: bool,
pub use_groups: bool,
pub use_directory: bool,
pub use_events: bool,
pub use_totp: bool,
pub use_2fa: bool,
pub use_api: bool,
pub use_sso: bool,
pub use_organization_domains: bool,
pub use_key_connector: bool,
pub use_scim: bool,
pub use_custom_permissions: bool,
pub use_reset_password: bool,
pub use_secrets_manager: bool,
pub use_password_manager: bool,
pub use_pam: bool,
pub use_activate_autofill_policy: bool,
pub use_automatic_user_confirmation: bool,
pub use_access_intelligence: bool,
pub use_admin_sponsored_families: bool,
pub use_disable_sm_ads_for_users: bool,
pub use_phishing_blocker: bool,
pub use_my_items: bool,
pub use_invite_links: bool,
}Expand description
The organization’s plan or license: its tier, limits, and feature entitlements.
Fields§
§product_tier_type: ProductTierTypeThe subscription tier of the organization.
seats: Option<u32>The number of licensed seats for the organization.
max_collections: Option<u32>The maximum number of collections the organization can create.
max_storage_gb: Option<u32>The maximum encrypted storage in gigabytes, if limited.
self_host: boolWhether the organization can create a license file for a self-hosted instance.
Whether organization members receive premium features.
use_policies: boolWhether the organization has access to policies features.
use_groups: boolWhether the organization has access to groups features.
use_directory: boolWhether the organization has access to directory sync features.
use_events: boolWhether the organization has access to event logging features.
use_totp: boolWhether the organization can enforce TOTP for members.
use_2fa: boolWhether the organization has access to two-factor authentication features.
use_api: boolWhether the organization has access to the Bitwarden Public API.
use_sso: boolWhether the organization has access to SSO features.
use_organization_domains: boolWhether the organization can manage verified domains.
use_key_connector: boolWhether the organization can use Key Connector for decryption.
use_scim: boolWhether the organization has access to SCIM provisioning.
use_custom_permissions: boolWhether the organization can use the OrganizationUserType::Custom role.
use_reset_password: boolWhether the organization has access to the account recovery (admin password reset) feature.
use_secrets_manager: boolWhether the organization has access to Secrets Manager.
use_password_manager: boolWhether the organization has access to Password Manager.
use_pam: boolWhether the organization has access to Privileged Access Management features.
use_activate_autofill_policy: boolWhether the organization can use the activate autofill policy.
use_automatic_user_confirmation: boolWhether the organization can automatically confirm new members without manual admin approval.
use_access_intelligence: boolWhether the organization has access to Access Intelligence features.
use_admin_sponsored_families: boolWhether the organization can sponsor families plans for members (Families For Enterprises).
use_disable_sm_ads_for_users: boolWhether Secrets Manager ads are disabled for users.
use_phishing_blocker: boolWhether the organization has access to phishing blocker features.
use_my_items: boolWhether the organization has access to the My Items collection feature. This allows users to store personal items in the organization vault if the Centralize Organization Ownership policy is enabled.
use_invite_links: boolWhether the organization can invite members using invite links.
Trait Implementations§
Source§impl Clone for OrganizationPlan
impl Clone for OrganizationPlan
Source§fn clone(&self) -> OrganizationPlan
fn clone(&self) -> OrganizationPlan
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl<UT> ConvertError<UT> for OrganizationPlan
impl<UT> ConvertError<UT> for OrganizationPlan
fn try_convert_unexpected_callback_error( e: UnexpectedUniFFICallbackError, ) -> Result<Self>
Source§impl Debug for OrganizationPlan
impl Debug for OrganizationPlan
Source§impl Default for OrganizationPlan
impl Default for OrganizationPlan
Source§impl<'de> Deserialize<'de> for OrganizationPlan
impl<'de> Deserialize<'de> for OrganizationPlan
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl<UT> FfiConverter<UT> for OrganizationPlan
impl<UT> FfiConverter<UT> for OrganizationPlan
Source§const TYPE_ID_META: MetadataBuffer
const TYPE_ID_META: MetadataBuffer
Source§type FfiType = RustBuffer
type FfiType = RustBuffer
Source§fn lower(v: Self) -> RustBuffer
fn lower(v: Self) -> RustBuffer
Source§fn try_lift(buf: RustBuffer) -> Result<Self>
fn try_lift(buf: RustBuffer) -> Result<Self>
Source§impl From<OrganizationPlan> for JsValuewhere
OrganizationPlan: Serialize,
impl From<OrganizationPlan> for JsValuewhere
OrganizationPlan: Serialize,
Source§fn from(value: OrganizationPlan) -> Self
fn from(value: OrganizationPlan) -> Self
Source§impl FromWasmAbi for OrganizationPlanwhere
Self: DeserializeOwned,
impl FromWasmAbi for OrganizationPlanwhere
Self: DeserializeOwned,
Source§impl IntoWasmAbi for &OrganizationPlanwhere
OrganizationPlan: Serialize,
impl IntoWasmAbi for &OrganizationPlanwhere
OrganizationPlan: Serialize,
Source§impl IntoWasmAbi for OrganizationPlanwhere
OrganizationPlan: Serialize,
impl IntoWasmAbi for OrganizationPlanwhere
OrganizationPlan: Serialize,
Source§impl<UT> Lift<UT> for OrganizationPlan
impl<UT> Lift<UT> for OrganizationPlan
Source§impl<UT> LiftRef<UT> for OrganizationPlan
impl<UT> LiftRef<UT> for OrganizationPlan
type LiftType = OrganizationPlan
Source§impl<UT> LiftReturn<UT> for OrganizationPlan
impl<UT> LiftReturn<UT> for OrganizationPlan
Source§type ReturnType = <OrganizationPlan as Lift<UT>>::FfiType
type ReturnType = <OrganizationPlan as Lift<UT>>::FfiType
Source§fn try_lift_successful_return(v: Self::ReturnType) -> Result<Self>
fn try_lift_successful_return(v: Self::ReturnType) -> Result<Self>
§fn lift_foreign_return(
ffi_return: Self::ReturnType,
call_status: RustCallStatus,
) -> Self
fn lift_foreign_return( ffi_return: Self::ReturnType, call_status: RustCallStatus, ) -> Self
§fn lift_error(_buf: RustBuffer) -> Self
fn lift_error(_buf: RustBuffer) -> Self
§fn handle_callback_unexpected_error(e: UnexpectedUniFFICallbackError) -> Self
fn handle_callback_unexpected_error(e: UnexpectedUniFFICallbackError) -> Self
Source§impl<UT> Lower<UT> for OrganizationPlan
impl<UT> Lower<UT> for OrganizationPlan
Source§impl<UT> LowerError<UT> for OrganizationPlan
impl<UT> LowerError<UT> for OrganizationPlan
Source§fn lower_error(obj: Self) -> RustBuffer
fn lower_error(obj: Self) -> RustBuffer
Source§impl<UT> LowerReturn<UT> for OrganizationPlan
impl<UT> LowerReturn<UT> for OrganizationPlan
Source§type ReturnType = <OrganizationPlan as Lower<UT>>::FfiType
type ReturnType = <OrganizationPlan as Lower<UT>>::FfiType
Source§fn lower_return(v: Self) -> Result<Self::ReturnType, RustCallError>
fn lower_return(v: Self) -> Result<Self::ReturnType, RustCallError>
§fn handle_failed_lift(
error: LiftArgsError,
) -> Result<Self::ReturnType, RustCallError>
fn handle_failed_lift( error: LiftArgsError, ) -> Result<Self::ReturnType, RustCallError>
Source§impl OptionFromWasmAbi for OrganizationPlanwhere
Self: DeserializeOwned,
impl OptionFromWasmAbi for OrganizationPlanwhere
Self: DeserializeOwned,
Source§impl OptionIntoWasmAbi for OrganizationPlanwhere
OrganizationPlan: Serialize,
impl OptionIntoWasmAbi for OrganizationPlanwhere
OrganizationPlan: Serialize,
Source§impl PartialEq for OrganizationPlan
impl PartialEq for OrganizationPlan
Source§impl RefFromWasmAbi for OrganizationPlanwhere
Self: DeserializeOwned,
impl RefFromWasmAbi for OrganizationPlanwhere
Self: DeserializeOwned,
Source§type Abi = <JsType as RefFromWasmAbi>::Abi
type Abi = <JsType as RefFromWasmAbi>::Abi
Self are recovered from.Source§type Anchor = SelfOwner<OrganizationPlan>
type Anchor = SelfOwner<OrganizationPlan>
Self for the duration of the
invocation of the function that has an &Self parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl Serialize for OrganizationPlan
impl Serialize for OrganizationPlan
impl StructuralPartialEq for OrganizationPlan
Source§impl Tsify for OrganizationPlan
impl Tsify for OrganizationPlan
const DECL: &'static str = "/**\n * The organization\\\'s plan or license: its tier, limits, and feature entitlements.\n */\nexport interface OrganizationPlan {\n /**\n * The subscription tier of the organization.\n */\n productTierType: ProductTierType;\n /**\n * The number of licensed seats for the organization.\n */\n seats: number | undefined;\n /**\n * The maximum number of collections the organization can create.\n */\n maxCollections: number | undefined;\n /**\n * The maximum encrypted storage in gigabytes, if limited.\n */\n maxStorageGb: number | undefined;\n /**\n * Whether the organization can create a license file for a self-hosted instance.\n */\n selfHost: boolean;\n /**\n * Whether organization members receive premium features.\n */\n usersGetPremium: boolean;\n /**\n * Whether the organization has access to policies features.\n */\n usePolicies: boolean;\n /**\n * Whether the organization has access to groups features.\n */\n useGroups: boolean;\n /**\n * Whether the organization has access to directory sync features.\n */\n useDirectory: boolean;\n /**\n * Whether the organization has access to event logging features.\n */\n useEvents: boolean;\n /**\n * Whether the organization can enforce TOTP for members.\n */\n useTotp: boolean;\n /**\n * Whether the organization has access to two-factor authentication features.\n */\n use2fa: boolean;\n /**\n * Whether the organization has access to the Bitwarden Public API.\n */\n useApi: boolean;\n /**\n * Whether the organization has access to SSO features.\n */\n useSso: boolean;\n /**\n * Whether the organization can manage verified domains.\n */\n useOrganizationDomains: boolean;\n /**\n * Whether the organization can use Key Connector for decryption.\n */\n useKeyConnector: boolean;\n /**\n * Whether the organization has access to SCIM provisioning.\n */\n useScim: boolean;\n /**\n * Whether the organization can use the [`OrganizationUserType::Custom`] role.\n */\n useCustomPermissions: boolean;\n /**\n * Whether the organization has access to the account recovery (admin password reset) feature.\n */\n useResetPassword: boolean;\n /**\n * Whether the organization has access to Secrets Manager.\n */\n useSecretsManager: boolean;\n /**\n * Whether the organization has access to Password Manager.\n */\n usePasswordManager: boolean;\n /**\n * Whether the organization has access to Privileged Access Management features.\n */\n usePam: boolean;\n /**\n * Whether the organization can use the activate autofill policy.\n */\n useActivateAutofillPolicy: boolean;\n /**\n * Whether the organization can automatically confirm new members without manual admin\n * approval.\n */\n useAutomaticUserConfirmation: boolean;\n /**\n * Whether the organization has access to Access Intelligence features.\n */\n useAccessIntelligence: boolean;\n /**\n * Whether the organization can sponsor families plans for members (Families For Enterprises).\n */\n useAdminSponsoredFamilies: boolean;\n /**\n * Whether Secrets Manager ads are disabled for users.\n */\n useDisableSMAdsForUsers: boolean;\n /**\n * Whether the organization has access to phishing blocker features.\n */\n usePhishingBlocker: boolean;\n /**\n * Whether the organization has access to the My Items collection feature.\n * This allows users to store personal items in the organization vault\n * if the Centralize Organization Ownership policy is enabled.\n */\n useMyItems: boolean;\n /**\n * Whether the organization can invite members using invite links.\n */\n useInviteLinks: boolean;\n}"
const SERIALIZATION_CONFIG: SerializationConfig
type JsType = JsType
fn into_js(&self) -> Result<Self::JsType, Error>where
Self: Serialize,
fn from_js<T>(js: T) -> Result<Self, Error>
Source§impl<UT> TypeId<UT> for OrganizationPlan
impl<UT> TypeId<UT> for OrganizationPlan
const TYPE_ID_META: MetadataBuffer
Source§impl VectorFromWasmAbi for OrganizationPlanwhere
Self: DeserializeOwned,
impl VectorFromWasmAbi for OrganizationPlanwhere
Self: DeserializeOwned,
type Abi = <JsType as VectorFromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[Self]>
Source§impl VectorIntoWasmAbi for OrganizationPlanwhere
OrganizationPlan: Serialize,
impl VectorIntoWasmAbi for OrganizationPlanwhere
OrganizationPlan: Serialize,
type Abi = <JsType as VectorIntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[Self]>) -> Self::Abi
Source§impl WasmDescribe for OrganizationPlan
impl WasmDescribe for OrganizationPlan
Auto Trait Implementations§
impl Freeze for OrganizationPlan
impl RefUnwindSafe for OrganizationPlan
impl Send for OrganizationPlan
impl Sync for OrganizationPlan
impl Unpin for OrganizationPlan
impl UnsafeUnpin for OrganizationPlan
impl UnwindSafe for OrganizationPlan
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> CompatExt for T
impl<T> CompatExt for T
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§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§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreimpl<T> Persist for T
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.