pub struct AuthenticateOkBody {
pub identity_token: String,
pub status: String,
}
Expand description
AuthenticateOkBody : AuthenticateOKBody authenticate o k body
Fields§
§identity_token: String
An opaque token used to authenticate a user after a successful login
status: String
The status of the authentication
Implementations§
Source§impl AuthenticateOkBody
impl AuthenticateOkBody
Sourcepub fn new(identity_token: String, status: String) -> AuthenticateOkBody
pub fn new(identity_token: String, status: String) -> AuthenticateOkBody
AuthenticateOKBody authenticate o k body
Trait Implementations§
Source§impl Clone for AuthenticateOkBody
impl Clone for AuthenticateOkBody
Source§fn clone(&self) -> AuthenticateOkBody
fn clone(&self) -> AuthenticateOkBody
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 AuthenticateOkBody
impl Debug for AuthenticateOkBody
Source§impl Default for AuthenticateOkBody
impl Default for AuthenticateOkBody
Source§fn default() -> AuthenticateOkBody
fn default() -> AuthenticateOkBody
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthenticateOkBody
impl<'de> Deserialize<'de> for AuthenticateOkBody
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 AuthenticateOkBody
impl PartialEq for AuthenticateOkBody
Source§impl Serialize for AuthenticateOkBody
impl Serialize for AuthenticateOkBody
impl StructuralPartialEq for AuthenticateOkBody
Auto Trait Implementations§
impl Freeze for AuthenticateOkBody
impl RefUnwindSafe for AuthenticateOkBody
impl Send for AuthenticateOkBody
impl Sync for AuthenticateOkBody
impl Unpin for AuthenticateOkBody
impl UnwindSafe for AuthenticateOkBody
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