#[repr(u8)]pub enum RealmPlanType {
SelfHosted = 1,
Limited = 2,
Standard = 3,
StandardFree = 4,
}Expand description
Represents the plan type of the organization.
- 1: Self-hosted organization (SELF_HOSTED)
- 2: Zulip Cloud free plan (LIMITED)
- 3: Zulip Cloud Standard plan (STANDARD)
- 4: Zulip Cloud Standard plan, sponsored for free (STANDARD_FREE)
Variants§
SelfHosted = 1
Self-hosted organization (SELF_HOSTED)
Limited = 2
Zulip Cloud free plan (LIMITED)
Standard = 3
Zulip Cloud Standard plan (STANDARD)
StandardFree = 4
Zulip Cloud Standard plan, sponsored for free (STANDARD_FREE)
Implementations§
Source§impl RealmPlanType
impl RealmPlanType
Sourcepub const SELF_HOSTED: &str = "self_hosted"
pub const SELF_HOSTED: &str = "self_hosted"
Represents the string value of the self-hosted plan type.
Sourcepub const STANDARD_FREE: &str = "standard_free"
pub const STANDARD_FREE: &str = "standard_free"
Represents the string value of the standard (sponsored or free) plan type.
Trait Implementations§
Source§impl Clone for RealmPlanType
impl Clone for RealmPlanType
impl Copy for RealmPlanType
Source§impl Debug for RealmPlanType
impl Debug for RealmPlanType
Source§impl Default for RealmPlanType
impl Default for RealmPlanType
Source§impl<'de> Deserialize<'de> for RealmPlanType
impl<'de> Deserialize<'de> for RealmPlanType
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 Display for RealmPlanType
impl Display for RealmPlanType
impl Eq for RealmPlanType
Source§impl PartialEq for RealmPlanType
impl PartialEq for RealmPlanType
Source§impl Serialize for RealmPlanType
impl Serialize for RealmPlanType
impl StructuralPartialEq for RealmPlanType
Auto Trait Implementations§
impl Freeze for RealmPlanType
impl RefUnwindSafe for RealmPlanType
impl Send for RealmPlanType
impl Sync for RealmPlanType
impl Unpin for RealmPlanType
impl UnsafeUnpin for RealmPlanType
impl UnwindSafe for RealmPlanType
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§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.