pub struct SwitchTenantResponse {
pub switched: bool,
pub tenant_id: String,
pub user_id: String,
pub role: String,
}Expand description
SwitchTenantResponse model.
Fields§
§switched: bool§tenant_id: String§user_id: String§role: StringTrait Implementations§
Source§impl Clone for SwitchTenantResponse
impl Clone for SwitchTenantResponse
Source§fn clone(&self) -> SwitchTenantResponse
fn clone(&self) -> SwitchTenantResponse
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 SwitchTenantResponse
impl Debug for SwitchTenantResponse
Source§impl Default for SwitchTenantResponse
impl Default for SwitchTenantResponse
Source§fn default() -> SwitchTenantResponse
fn default() -> SwitchTenantResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SwitchTenantResponse
impl<'de> Deserialize<'de> for SwitchTenantResponse
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 SwitchTenantResponse
impl PartialEq for SwitchTenantResponse
Source§impl Serialize for SwitchTenantResponse
impl Serialize for SwitchTenantResponse
impl StructuralPartialEq for SwitchTenantResponse
Auto Trait Implementations§
impl Freeze for SwitchTenantResponse
impl RefUnwindSafe for SwitchTenantResponse
impl Send for SwitchTenantResponse
impl Sync for SwitchTenantResponse
impl Unpin for SwitchTenantResponse
impl UnsafeUnpin for SwitchTenantResponse
impl UnwindSafe for SwitchTenantResponse
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