pub struct TenantResponse {
pub tenant: Option<Box<Tenant>>,
pub tenants: Option<Vec<Tenant>>,
}
Expand description
TenantResponse :
Fields§
§tenant: Option<Box<Tenant>>
§tenants: Option<Vec<Tenant>>
Implementations§
Source§impl TenantResponse
impl TenantResponse
Sourcepub fn new() -> TenantResponse
pub fn new() -> TenantResponse
Trait Implementations§
Source§impl Clone for TenantResponse
impl Clone for TenantResponse
Source§fn clone(&self) -> TenantResponse
fn clone(&self) -> TenantResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TenantResponse
impl Debug for TenantResponse
Source§impl Default for TenantResponse
impl Default for TenantResponse
Source§fn default() -> TenantResponse
fn default() -> TenantResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TenantResponse
impl<'de> Deserialize<'de> for TenantResponse
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 TenantResponse
impl PartialEq for TenantResponse
Source§impl Serialize for TenantResponse
impl Serialize for TenantResponse
impl StructuralPartialEq for TenantResponse
Auto Trait Implementations§
impl Freeze for TenantResponse
impl RefUnwindSafe for TenantResponse
impl Send for TenantResponse
impl Sync for TenantResponse
impl Unpin for TenantResponse
impl UnwindSafe for TenantResponse
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