Struct em_client::models::AuthResponse
source[−]pub struct AuthResponse {
pub access_token: Option<String>,
pub session_info: Option<SessionInfo>,
}
Fields
access_token: Option<String>
Bearer token to be used to authenticate to other APIs.
session_info: Option<SessionInfo>
Implementations
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for AuthResponse
impl Send for AuthResponse
impl Sync for AuthResponse
impl Unpin for AuthResponse
impl UnwindSafe for AuthResponse
Blanket Implementations
Mutably borrows from an owned value. Read more