pub enum HivePlan {
NoPlan,
Personal,
Team,
Enterprise,
Unknown,
}Expand description
Plan of the organization.
Variants§
Implementations§
Source§impl HivePlan
impl HivePlan
Sourcepub fn display_name(self) -> &'static str
pub fn display_name(self) -> &'static str
The plan’s name as people read it: Personal, Team and Enterprise.
Sourcepub fn product_name(self) -> &'static str
pub fn product_name(self) -> &'static str
The plan’s product name: Personal, Team, Enterprise.
Trait Implementations§
impl Copy for HivePlan
Source§impl<'de> Deserialize<'de> for HivePlan
impl<'de> Deserialize<'de> for HivePlan
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 HivePlan
impl StructuralPartialEq for HivePlan
Auto Trait Implementations§
impl Forget for HivePlan
impl Freeze for HivePlan
impl Move for HivePlan
impl RefUnwindSafe for HivePlan
impl Send for HivePlan
impl Sync for HivePlan
impl Unpin for HivePlan
impl UnsafeUnpin for HivePlan
impl UnwindSafe for HivePlan
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