pub struct PlanResolution {
pub entitlements: Option<Option<Value>>,
pub id: Option<String>,
pub license_features: Option<Vec<String>>,
pub price_ref: Option<Option<Value>>,
pub tenant_id: Option<String>,
}Fields§
§entitlements: Option<Option<Value>>§id: Option<String>ID is the plan’s catalog id.
license_features: Option<Vec<String>>LicenseFeatures is the flat, sorted feature list a signed license carries, derived from the entitlements — "ai.premium", "licensing.product:team".
price_ref: Option<Option<Value>>§tenant_id: Option<String>TenantID is the catalog the record came from: "hanzo" for the canonical catalog, a reseller org for that reseller’s override.
Implementations§
Source§impl PlanResolution
impl PlanResolution
pub fn new() -> PlanResolution
Trait Implementations§
Source§impl Clone for PlanResolution
impl Clone for PlanResolution
Source§fn clone(&self) -> PlanResolution
fn clone(&self) -> PlanResolution
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PlanResolution
impl Debug for PlanResolution
Source§impl Default for PlanResolution
impl Default for PlanResolution
Source§fn default() -> PlanResolution
fn default() -> PlanResolution
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PlanResolution
impl<'de> Deserialize<'de> for PlanResolution
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
Source§impl PartialEq for PlanResolution
impl PartialEq for PlanResolution
Source§impl Serialize for PlanResolution
impl Serialize for PlanResolution
impl StructuralPartialEq for PlanResolution
Auto Trait Implementations§
impl Freeze for PlanResolution
impl RefUnwindSafe for PlanResolution
impl Send for PlanResolution
impl Sync for PlanResolution
impl Unpin for PlanResolution
impl UnsafeUnpin for PlanResolution
impl UnwindSafe for PlanResolution
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