[][src]Struct packetcrypt_sys::PacketCrypt_AnnounceHdr_t

#[repr(C)]pub struct PacketCrypt_AnnounceHdr_t {
    pub version: u8,
    pub softNonce: [u8; 3],
    pub hardNonce: u32,
    pub workBits: u32,
    pub parentBlockHeight: u32,
    pub contentType: u32,
    pub contentLength: u32,
    pub contentHash: [u8; 32],
    pub signingKey: [u8; 32],
}

Fields

version: u8softNonce: [u8; 3]hardNonce: u32workBits: u32parentBlockHeight: u32contentType: u32contentLength: u32contentHash: [u8; 32]signingKey: [u8; 32]

Trait Implementations

impl Clone for PacketCrypt_AnnounceHdr_t[src]

impl Copy for PacketCrypt_AnnounceHdr_t[src]

impl Debug for PacketCrypt_AnnounceHdr_t[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.