#[repr(C, packed(1))]pub struct GameAuthenticationData {
pub nascResult: u32_,
pub httpStatusCode: u32_,
pub serverAddress: [c_char; 32],
pub serverPort: u16_,
pub pad: [u8_; 6],
pub authToken: [c_char; 256],
pub serverTime: u64_,
}Expand description
Game Authentication Data structure
Fields§
§nascResult: u32_< NASC result code for the LOGIN operation.
httpStatusCode: u32_< HTTP status code for the NASC LOGIN operation.
serverAddress: [c_char; 32]< Address of the game server.
serverPort: u16_< Port of the game server.
pad: [u8_; 6]§authToken: [c_char; 256]< Game server authentication token.
serverTime: u64_< NEX timestamp for current server time.
Trait Implementations§
Source§impl Clone for GameAuthenticationData
impl Clone for GameAuthenticationData
Source§fn clone(&self) -> GameAuthenticationData
fn clone(&self) -> GameAuthenticationData
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GameAuthenticationData
impl Debug for GameAuthenticationData
Source§impl Default for GameAuthenticationData
impl Default for GameAuthenticationData
impl Copy for GameAuthenticationData
Auto Trait Implementations§
impl Freeze for GameAuthenticationData
impl RefUnwindSafe for GameAuthenticationData
impl Send for GameAuthenticationData
impl Sync for GameAuthenticationData
impl Unpin for GameAuthenticationData
impl UnwindSafe for GameAuthenticationData
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)