pub struct EntitlementPlan {
pub key: String,
pub name: String,
pub tier: String,
}Expand description
The plan behind the key, and the field tier it buys.
Fields§
§key: StringThe plan the organization is on, as an identifier that is never renamed
or reused: free for the free plan, or a paid plan’s key. Compare
against it, and show name.
name: StringThe plan’s name as the site and console show it: Unlimited for the
free plan. Show this rather than a name built from key, which never
changes while a name can.
tier: StringThe field tier, which decides how much of a lookup answer comes back:
free, starter, scale or max. What each tier includes is
documented on the lookup endpoint rather than repeated here.
Trait Implementations§
Source§impl Clone for EntitlementPlan
impl Clone for EntitlementPlan
Source§impl Debug for EntitlementPlan
impl Debug for EntitlementPlan
Source§impl<'de> Deserialize<'de> for EntitlementPlan
impl<'de> Deserialize<'de> for EntitlementPlan
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 EntitlementPlan
impl PartialEq for EntitlementPlan
Source§impl Serialize for EntitlementPlan
impl Serialize for EntitlementPlan
impl StructuralPartialEq for EntitlementPlan
Auto Trait Implementations§
impl Forget for EntitlementPlan
impl Freeze for EntitlementPlan
impl Move for EntitlementPlan
impl RefUnwindSafe for EntitlementPlan
impl Send for EntitlementPlan
impl Sync for EntitlementPlan
impl Unpin for EntitlementPlan
impl UnsafeUnpin for EntitlementPlan
impl UnwindSafe for EntitlementPlan
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