#[repr(C, packed(1))]pub struct SupportContext {
pub accountId: AccountId,
pub pad: [u8_; 3],
pub serialNumber: u32_,
pub principalId: u32_,
pub randomNumber: u16_,
pub pad2: [u8_; 2],
}Expand description
Support Context structure
Fields§
§accountId: AccountId< Account ID of the account.
pad: [u8_; 3]§serialNumber: u32_< Serial number of the console (only digits).
principalId: u32_§randomNumber: u16_< Random number based on the principalId and serialNumber.
pad2: [u8_; 2]Trait Implementations§
Source§impl Clone for SupportContext
impl Clone for SupportContext
Source§fn clone(&self) -> SupportContext
fn clone(&self) -> SupportContext
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 SupportContext
impl Debug for SupportContext
Source§impl Default for SupportContext
impl Default for SupportContext
Source§fn default() -> SupportContext
fn default() -> SupportContext
Returns the “default value” for a type. Read more
impl Copy for SupportContext
Auto Trait Implementations§
impl Freeze for SupportContext
impl RefUnwindSafe for SupportContext
impl Send for SupportContext
impl Sync for SupportContext
impl Unpin for SupportContext
impl UnwindSafe for SupportContext
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)