pub struct TenantCreate {
pub name: String,
}Expand description
Payload for creating an organization tenant. Personal tenants are bootstrapped on signup and can’t be created through this endpoint.
Fields§
§name: StringTrait Implementations§
Source§impl Clone for TenantCreate
impl Clone for TenantCreate
Source§fn clone(&self) -> TenantCreate
fn clone(&self) -> TenantCreate
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 moreSource§impl Debug for TenantCreate
impl Debug for TenantCreate
Source§impl<'de> Deserialize<'de> for TenantCreate
impl<'de> Deserialize<'de> for TenantCreate
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
Auto Trait Implementations§
impl Freeze for TenantCreate
impl RefUnwindSafe for TenantCreate
impl Send for TenantCreate
impl Sync for TenantCreate
impl Unpin for TenantCreate
impl UnsafeUnpin for TenantCreate
impl UnwindSafe for TenantCreate
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