#[repr(u8)]pub enum TenantKind {
Personal = 0,
Organization = 1,
}Expand description
Personal — bootstrapped on signup, one per user, never created/deleted via the API. Organization — a team workspace created explicitly.
Variants§
Trait Implementations§
Source§impl Clone for TenantKind
impl Clone for TenantKind
Source§fn clone(&self) -> TenantKind
fn clone(&self) -> TenantKind
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 moreimpl Copy for TenantKind
Source§impl Debug for TenantKind
impl Debug for TenantKind
Source§impl Default for TenantKind
impl Default for TenantKind
Source§fn default() -> TenantKind
fn default() -> TenantKind
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TenantKind
impl<'de> Deserialize<'de> for TenantKind
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 TenantKind
impl Display for TenantKind
impl Eq for TenantKind
Source§impl PartialEq for TenantKind
impl PartialEq for TenantKind
Source§impl Serialize for TenantKind
impl Serialize for TenantKind
impl StructuralPartialEq for TenantKind
Auto Trait Implementations§
impl Freeze for TenantKind
impl RefUnwindSafe for TenantKind
impl Send for TenantKind
impl Sync for TenantKind
impl Unpin for TenantKind
impl UnsafeUnpin for TenantKind
impl UnwindSafe for TenantKind
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