pub struct NewTenantResponse {
pub id: TenantId,
pub name: String,
}Expand description
Response to a successful tenant creation.
JSON schema
{
"description": "Response to a successful tenant creation.",
"type": "object",
"required": [
"id",
"name"
],
"properties": {
"id": {
"$ref": "#/components/schemas/TenantId"
},
"name": {
"type": "string"
}
}
}Fields§
§id: TenantId§name: StringImplementations§
Source§impl NewTenantResponse
impl NewTenantResponse
pub fn builder() -> NewTenantResponse
Trait Implementations§
Source§impl Clone for NewTenantResponse
impl Clone for NewTenantResponse
Source§fn clone(&self) -> NewTenantResponse
fn clone(&self) -> NewTenantResponse
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 NewTenantResponse
impl Debug for NewTenantResponse
Source§impl<'de> Deserialize<'de> for NewTenantResponse
impl<'de> Deserialize<'de> for NewTenantResponse
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 From<&NewTenantResponse> for NewTenantResponse
impl From<&NewTenantResponse> for NewTenantResponse
Source§fn from(value: &NewTenantResponse) -> Self
fn from(value: &NewTenantResponse) -> Self
Converts to this type from the input type.
Source§impl From<NewTenantResponse> for NewTenantResponse
impl From<NewTenantResponse> for NewTenantResponse
Source§fn from(value: NewTenantResponse) -> Self
fn from(value: NewTenantResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for NewTenantResponse
impl Serialize for NewTenantResponse
Source§impl TryFrom<NewTenantResponse> for NewTenantResponse
impl TryFrom<NewTenantResponse> for NewTenantResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: NewTenantResponse) -> Result<Self, ConversionError>
fn try_from(value: NewTenantResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for NewTenantResponse
impl RefUnwindSafe for NewTenantResponse
impl Send for NewTenantResponse
impl Sync for NewTenantResponse
impl Unpin for NewTenantResponse
impl UnsafeUnpin for NewTenantResponse
impl UnwindSafe for NewTenantResponse
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