pub struct ProductCapability {Show 19 fields
pub id: String,
pub name: String,
pub price_class: UserPriceClass,
pub hive_plan: Option<HivePlan>,
pub source_visibility: SourceVisibility,
pub runtime_delivery: RuntimeDelivery,
pub aha_criticality: AhaCriticality,
pub moat_sensitivity: MoatSensitivity,
pub license_class: LicenseClass,
pub self_host_available: bool,
pub managed_cloud_available: bool,
pub enterprise_entitlement: String,
pub account_required: bool,
pub allowed_commercial_use: CommercialUse,
pub redistribution_oem_rights: RedistributionRights,
pub data_boundary: String,
pub telemetry_event_class: TelemetryEventClass,
pub public_maturity: PublicStatus,
pub source_path: String,
}Fields§
§id: String§name: String§price_class: UserPriceClass§hive_plan: Option<HivePlan>Present exactly on hive records: the Hive plan that grants it.
source_visibility: SourceVisibility§runtime_delivery: RuntimeDelivery§aha_criticality: AhaCriticality§moat_sensitivity: MoatSensitivity§license_class: LicenseClass§self_host_available: bool§managed_cloud_available: bool§enterprise_entitlement: StringCanonical governance key, or the explicit value none.
account_required: bool§allowed_commercial_use: CommercialUse§redistribution_oem_rights: RedistributionRights§data_boundary: String§telemetry_event_class: TelemetryEventClass§public_maturity: PublicStatus§source_path: StringImplementations§
Source§impl ProductCapability
impl ProductCapability
Sourcepub const fn minimum_plan(&self) -> Plan
pub const fn minimum_plan(&self) -> Plan
Compatibility projection for legacy clients; not entitlement authority.
Sourcepub const fn is_enterprise(&self) -> bool
pub const fn is_enterprise(&self) -> bool
True for a capability whose entitlement is Enterprise authority: it
must name itself as its canonical enterprise_entitlement.
Trait Implementations§
Source§impl Clone for ProductCapability
impl Clone for ProductCapability
Source§impl Debug for ProductCapability
impl Debug for ProductCapability
Source§impl<'de> Deserialize<'de> for ProductCapability
impl<'de> Deserialize<'de> for ProductCapability
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ProductCapability
Source§impl PartialEq for ProductCapability
impl PartialEq for ProductCapability
Source§impl Serialize for ProductCapability
impl Serialize for ProductCapability
impl StructuralPartialEq for ProductCapability
Auto Trait Implementations§
impl Forget for ProductCapability
impl Freeze for ProductCapability
impl Move for ProductCapability
impl RefUnwindSafe for ProductCapability
impl Send for ProductCapability
impl Sync for ProductCapability
impl Unpin for ProductCapability
impl UnsafeUnpin for ProductCapability
impl UnwindSafe for ProductCapability
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
Mutably borrows from an owned value. Read more
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
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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> ⓘ
Converts
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> ⓘ
Converts
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