pub struct IdentityResponse {
pub ok: bool,
pub error: Option<String>,
pub response_metadata: Option<ResponseMetadata>,
pub user: Option<User>,
pub team: Option<Team>,
}Fields§
§ok: bool§error: Option<String>§response_metadata: Option<ResponseMetadata>§user: Option<User>§team: Option<Team>Trait Implementations§
Source§impl Debug for IdentityResponse
impl Debug for IdentityResponse
Source§impl Default for IdentityResponse
impl Default for IdentityResponse
Source§fn default() -> IdentityResponse
fn default() -> IdentityResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IdentityResponse
impl<'de> Deserialize<'de> for IdentityResponse
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 IdentityResponse
impl PartialEq for IdentityResponse
Source§impl Serialize for IdentityResponse
impl Serialize for IdentityResponse
impl StructuralPartialEq for IdentityResponse
Auto Trait Implementations§
impl Freeze for IdentityResponse
impl RefUnwindSafe for IdentityResponse
impl Send for IdentityResponse
impl Sync for IdentityResponse
impl Unpin for IdentityResponse
impl UnwindSafe for IdentityResponse
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