pub struct TierLimits {Show 17 fields
pub tier: SubscriptionTier,
pub request_budget: RequestBudget,
pub total_resources: ResourceLimit,
pub projects: ResourceLimit,
pub search_parameters: ResourceLimit,
pub operation_definitions: ResourceLimit,
pub subscriptions: ResourceLimit,
pub identity_providers: ResourceLimit,
pub tenant_customization: bool,
pub display_name: &'static str,
pub price: &'static str,
pub cadence: Option<&'static str>,
pub audience: &'static str,
pub support: &'static str,
pub uptime_sla: &'static str,
pub baa_available: bool,
pub self_serve: bool,
}Expand description
Everything one subscription tier allows, and how it is sold.
Fields§
§tier: SubscriptionTierThe tier this describes. Serializes to its claim value ("free", …),
which is how the website keys its cards.
request_budget: RequestBudgetRequests allowed per rate limit window. See OPERATION_POINTS.
total_resources: ResourceLimitTotal current-version resources the tenant may store across all projects. History does not count.
projects: ResourceLimitProjects the tenant may create, including the system project.
search_parameters: ResourceLimitCustom search parameters the tenant may define.
operation_definitions: ResourceLimitCustom operations the tenant may define.
subscriptions: ResourceLimitFHIR Subscriptions the tenant may register.
identity_providers: ResourceLimitExternal identity providers the tenant may configure.
tenant_customization: boolWhether the tenant may set its own display name and logo.
display_name: &'static strName shown on the pricing page. Deliberately not the claim value: the claim is an API contract, this is marketing copy.
price: &'static strFormatted price, e.g. "$1,500".
cadence: Option<&'static str>Billing cadence, or None for the tiers that are not billed monthly.
audience: &'static strWho the tier is for.
support: &'static strSupport response commitment.
uptime_sla: &'static strUptime commitment.
baa_available: boolWhether a signed BAA is available, which gates holding PHI.
self_serve: boolWhether signup can put a tenant straight onto this tier.
Trait Implementations§
Source§impl Clone for TierLimits
impl Clone for TierLimits
Source§impl Debug for TierLimits
impl Debug for TierLimits
Auto Trait Implementations§
impl Freeze for TierLimits
impl RefUnwindSafe for TierLimits
impl Send for TierLimits
impl Sync for TierLimits
impl Unpin for TierLimits
impl UnsafeUnpin for TierLimits
impl UnwindSafe for TierLimits
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> ErasedDestructor for Twhere
T: 'static,
§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 more