Struct pyth_client::Mapping [−][src]
#[repr(C)]pub struct Mapping {
pub magic: u32,
pub ver: u32,
pub atype: u32,
pub size: u32,
pub num: u32,
pub unused: u32,
pub next: AccKey,
pub products: [AccKey; 640],
}
Expand description
Mapping accounts form a linked-list containing the listing of all products on Pyth.
Fields
magic: u32
pyth magic number
ver: u32
program version
atype: u32
account type
size: u32
account used size
num: u32
number of product accounts
unused: u32
next: AccKey
next mapping account (if any)
products: [AccKey; 640]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Mapping
impl UnwindSafe for Mapping
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more