#[repr(C)]pub struct _tagEOS_Auth_IdToken {
pub ApiVersion: i32,
pub AccountId: EOS_EpicAccountId,
pub JsonWebToken: *const c_char,
}Expand description
A structure that contains an ID token. These structures are created by EOS_Auth_CopyIdToken and must be passed to EOS_Auth_IdToken_Release when finished.
Fields§
§ApiVersion: i32API Version: Set this to EOS_AUTH_IDTOKEN_API_LATEST.
AccountId: EOS_EpicAccountIdThe Epic Account ID described by the ID token. Use EOS_EpicAccountId_FromString to populate this field when validating a received ID token.
JsonWebToken: *const c_charThe ID token as a Json Web Token (JWT) string.
Trait Implementations§
Source§impl Clone for _tagEOS_Auth_IdToken
impl Clone for _tagEOS_Auth_IdToken
Source§fn clone(&self) -> _tagEOS_Auth_IdToken
fn clone(&self) -> _tagEOS_Auth_IdToken
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 _tagEOS_Auth_IdToken
impl Debug for _tagEOS_Auth_IdToken
Source§impl Default for _tagEOS_Auth_IdToken
impl Default for _tagEOS_Auth_IdToken
impl Copy for _tagEOS_Auth_IdToken
Auto Trait Implementations§
impl Freeze for _tagEOS_Auth_IdToken
impl RefUnwindSafe for _tagEOS_Auth_IdToken
impl !Send for _tagEOS_Auth_IdToken
impl !Sync for _tagEOS_Auth_IdToken
impl Unpin for _tagEOS_Auth_IdToken
impl UnsafeUnpin for _tagEOS_Auth_IdToken
impl UnwindSafe for _tagEOS_Auth_IdToken
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