pub struct CreateTenantResponse {
pub status: ApiStatus,
pub tenant: Box<ApiTenant>,
}Fields§
§status: ApiStatus§tenant: Box<ApiTenant>Implementations§
Source§impl CreateTenantResponse
impl CreateTenantResponse
pub fn new(status: ApiStatus, tenant: ApiTenant) -> CreateTenantResponse
Trait Implementations§
Source§impl Clone for CreateTenantResponse
impl Clone for CreateTenantResponse
Source§fn clone(&self) -> CreateTenantResponse
fn clone(&self) -> CreateTenantResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 CreateTenantResponse
impl Debug for CreateTenantResponse
Source§impl Default for CreateTenantResponse
impl Default for CreateTenantResponse
Source§fn default() -> CreateTenantResponse
fn default() -> CreateTenantResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateTenantResponse
impl<'de> Deserialize<'de> for CreateTenantResponse
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 PartialEq for CreateTenantResponse
impl PartialEq for CreateTenantResponse
Source§impl Serialize for CreateTenantResponse
impl Serialize for CreateTenantResponse
impl StructuralPartialEq for CreateTenantResponse
Auto Trait Implementations§
impl Freeze for CreateTenantResponse
impl RefUnwindSafe for CreateTenantResponse
impl Send for CreateTenantResponse
impl Sync for CreateTenantResponse
impl Unpin for CreateTenantResponse
impl UnwindSafe for CreateTenantResponse
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