pub struct Entitlements {
pub plan: Plan,
pub seats: u32,
pub hosted_index_mb: u32,
pub managed_connectors: u32,
pub private_registry: bool,
pub sso_oidc: bool,
pub sso_scim: bool,
pub audit_retention_days: u32,
pub revenue_share: bool,
pub supporter: bool,
pub cloud_sync: bool,
}Expand description
Commercial entitlements for a plan. Every field describes a Team/Cloud
capability; none can restrict a local feature. A quota of 0 means none;
UNBOUNDED means unlimited/negotiated (see Plan::Enterprise).
Fields§
§plan: Plan§seats: u32Seats included (0 = none, UNBOUNDED = unlimited).
hosted_index_mb: u32Hosted index size cap in MB (0 = none, UNBOUNDED = unlimited).
managed_connectors: u32Number of managed connectors (0 = none, UNBOUNDED = unlimited).
private_registry: boolPrivate extension/persona registry access.
sso_oidc: boolSelf-serve OIDC SSO for the org (GL #482/#533) — sign-in via the org’s own IdP, configured without a sales motion. Business and Enterprise.
sso_scim: boolSAML SSO + SCIM provisioning (the negotiated Enterprise surface).
audit_retention_days: u32Audit log retention window in days (0 = none).
Marketplace revenue-share accounting for authors.
supporter: boolAccount-level supporter recognition (the voluntary “Supporter”
subscription, of which the sponsor tier is the top). Drives a supporter
badge and convenience perks only; it is not a local capability and
never gates anything. true for Supporter, Pro, Team and Enterprise
(each is, at minimum, a paying supporter).
cloud_sync: boolHosted Personal Cloud sync: cross-device sync + backup of the user’s
own context (knowledge, learned shell patterns, CEP scores, gotchas,
savings history) via the /api/sync/* endpoints. A hosted service, not
a local capability — the local engine is fully usable without it. true for
the paid Pro tier and, additively, Team and Enterprise.
Trait Implementations§
Source§impl Clone for Entitlements
impl Clone for Entitlements
Source§fn clone(&self) -> Entitlements
fn clone(&self) -> Entitlements
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for Entitlements
Source§impl Debug for Entitlements
impl Debug for Entitlements
Source§impl<'de> Deserialize<'de> for Entitlements
impl<'de> Deserialize<'de> for Entitlements
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>,
impl Eq for Entitlements
Source§impl PartialEq for Entitlements
impl PartialEq for Entitlements
Source§impl Serialize for Entitlements
impl Serialize for Entitlements
impl StructuralPartialEq for Entitlements
Auto Trait Implementations§
impl Freeze for Entitlements
impl RefUnwindSafe for Entitlements
impl Send for Entitlements
impl Sync for Entitlements
impl Unpin for Entitlements
impl UnsafeUnpin for Entitlements
impl UnwindSafe for Entitlements
Blanket Implementations§
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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 more