pub struct AuthorizationResponse {
pub success: bool,
pub jwt: Option<Option<String>>,
pub tenant_id: Option<Option<Uuid>>,
pub expiration: Option<Option<String>>,
pub accessible_tenants: Vec<Tenant>,
}Fields§
§success: bool§jwt: Option<Option<String>>§tenant_id: Option<Option<Uuid>>§expiration: Option<Option<String>>§accessible_tenants: Vec<Tenant>Implementations§
Trait Implementations§
Source§impl Clone for AuthorizationResponse
impl Clone for AuthorizationResponse
Source§fn clone(&self) -> AuthorizationResponse
fn clone(&self) -> AuthorizationResponse
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 AuthorizationResponse
impl Debug for AuthorizationResponse
Source§impl Default for AuthorizationResponse
impl Default for AuthorizationResponse
Source§fn default() -> AuthorizationResponse
fn default() -> AuthorizationResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthorizationResponse
impl<'de> Deserialize<'de> for AuthorizationResponse
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 AuthorizationResponse
impl PartialEq for AuthorizationResponse
Source§impl Serialize for AuthorizationResponse
impl Serialize for AuthorizationResponse
impl StructuralPartialEq for AuthorizationResponse
Auto Trait Implementations§
impl Freeze for AuthorizationResponse
impl RefUnwindSafe for AuthorizationResponse
impl Send for AuthorizationResponse
impl Sync for AuthorizationResponse
impl Unpin for AuthorizationResponse
impl UnwindSafe for AuthorizationResponse
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