#[repr(u16)]pub enum RealmOrganizationType {
Show 13 variants
Unspecified = 0,
Business = 10,
OpenSourceProject = 20,
EducationNonProfit = 30,
EducationForProfit = 35,
Research = 40,
EventOrConference = 50,
NonProfit = 60,
Government = 70,
PoliticalGroup = 80,
Community = 90,
Personal = 100,
Other = 1_000,
}Expand description
Represents the organization type for the realm. Useful only to clients supporting changing this setting for the organization, or clients implementing onboarding content or other features that varies with organization type.
- 0: Unspecified
- 10: Business
- 20: Open-source project
- 30: Education (non-profit)
- 35: Education (for-profit)
- 40: Research
- 50: Event or conference
- 60: Non-profit (registered)
- 70: Government
- 80: Political group
- 90: Community
- 100: Personal
- 1000: Other
Changes: New in Zulip 6.0 (feature level 128).
Variants§
Unspecified = 0
Unspecified
Business = 10
Business
OpenSourceProject = 20
Open-source project
EducationNonProfit = 30
Education (non-profit)
EducationForProfit = 35
Education (for-profit)
Research = 40
Research
EventOrConference = 50
Event or conference
NonProfit = 60
Non-profit (registered)
Government = 70
Government
PoliticalGroup = 80
Political group
Community = 90
Community
Personal = 100
Personal
Other = 1_000
Other
Implementations§
Source§impl RealmOrganizationType
impl RealmOrganizationType
Sourcepub const UNSPECIFIED: &str = "unspecified"
pub const UNSPECIFIED: &str = "unspecified"
Represents the string value of the unspecified organization type.
Sourcepub const BUSINESS: &str = "business"
pub const BUSINESS: &str = "business"
Represents the string value of the business organization type.
Sourcepub const OPEN_SOURCE_PROJECT: &str = "open_source_project"
pub const OPEN_SOURCE_PROJECT: &str = "open_source_project"
Represents the string value of the open-source project organization type.
Sourcepub const EDUCATION_NON_PROFIT: &str = "education_non_profit"
pub const EDUCATION_NON_PROFIT: &str = "education_non_profit"
Represents the string value of the education (non-profit) organization type.
Sourcepub const EDUCATION_FOR_PROFIT: &str = "education_for_profit"
pub const EDUCATION_FOR_PROFIT: &str = "education_for_profit"
Represents the string value of the education (for-profit) organization type.
Sourcepub const RESEARCH: &str = "research"
pub const RESEARCH: &str = "research"
Represents the string value of the research organization type.
Sourcepub const EVENT_OR_CONFERENCE: &str = "event_or_conference"
pub const EVENT_OR_CONFERENCE: &str = "event_or_conference"
Represents the string value of the event or conference organization type.
Sourcepub const NON_PROFIT: &str = "non_profit"
pub const NON_PROFIT: &str = "non_profit"
Represents the string value of the non-profit organization type.
Sourcepub const GOVERNMENT: &str = "government"
pub const GOVERNMENT: &str = "government"
Represents the string value of the government organization type.
Sourcepub const POLITICAL_GROUP: &str = "political_group"
pub const POLITICAL_GROUP: &str = "political_group"
Represents the string value of the political group organization type.
Sourcepub const COMMUNITY: &str = "community"
pub const COMMUNITY: &str = "community"
Represents the string value of the community organization type.
Trait Implementations§
Source§impl Clone for RealmOrganizationType
impl Clone for RealmOrganizationType
impl Copy for RealmOrganizationType
Source§impl Debug for RealmOrganizationType
impl Debug for RealmOrganizationType
Source§impl Default for RealmOrganizationType
impl Default for RealmOrganizationType
Source§impl<'de> Deserialize<'de> for RealmOrganizationType
impl<'de> Deserialize<'de> for RealmOrganizationType
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>,
Source§impl Display for RealmOrganizationType
impl Display for RealmOrganizationType
impl Eq for RealmOrganizationType
Source§impl PartialEq for RealmOrganizationType
impl PartialEq for RealmOrganizationType
Source§impl Serialize for RealmOrganizationType
impl Serialize for RealmOrganizationType
impl StructuralPartialEq for RealmOrganizationType
Auto Trait Implementations§
impl Freeze for RealmOrganizationType
impl RefUnwindSafe for RealmOrganizationType
impl Send for RealmOrganizationType
impl Sync for RealmOrganizationType
impl Unpin for RealmOrganizationType
impl UnsafeUnpin for RealmOrganizationType
impl UnwindSafe for RealmOrganizationType
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
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
key and return true if they are equal.