Struct pyth_client::Product [−][src]
#[repr(C)]pub struct Product {
pub magic: u32,
pub ver: u32,
pub atype: u32,
pub size: u32,
pub px_acc: AccKey,
pub attr: [u8; 464],
}
Expand description
Product accounts contain metadata for a single product, such as its symbol (“Crypto.BTC/USD”) and its base/quote currencies.
Fields
magic: u32
pyth magic number
ver: u32
program version
atype: u32
account type
size: u32
price account size
px_acc: AccKey
first price account in list
attr: [u8; 464]
key/value pairs of reference attr.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Product
impl UnwindSafe for Product
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more