#[repr(C, packed(1))]pub struct ServiceLocatorData {
pub nascResult: u32_,
pub httpStatusCode: u32_,
pub serviceHost: [c_char; 128],
pub serviceToken: [c_char; 256],
pub statusData: u8_,
pub padding: [u8_; 7],
pub serverTime: u64_,
}Expand description
Service Locator Data strcture
Fields§
§nascResult: u32_< NASC result code for the SVCLOC operation.
httpStatusCode: u32_< HTTP status code for the NASC LOGIN operation.
serviceHost: [c_char; 128]< Host address of the target service.
serviceToken: [c_char; 256]< Token for the target service.
statusData: u8_< statusdata value from the NASC response data.
padding: [u8_; 7]§serverTime: u64_< NEX timestamp for current server time.
Trait Implementations§
Source§impl Clone for ServiceLocatorData
impl Clone for ServiceLocatorData
Source§fn clone(&self) -> ServiceLocatorData
fn clone(&self) -> ServiceLocatorData
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 ServiceLocatorData
impl Debug for ServiceLocatorData
Source§impl Default for ServiceLocatorData
impl Default for ServiceLocatorData
impl Copy for ServiceLocatorData
Auto Trait Implementations§
impl Freeze for ServiceLocatorData
impl RefUnwindSafe for ServiceLocatorData
impl Send for ServiceLocatorData
impl Sync for ServiceLocatorData
impl Unpin for ServiceLocatorData
impl UnwindSafe for ServiceLocatorData
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)