Struct pyth_client::PriceInfo [−][src]
#[repr(C)]pub struct PriceInfo {
pub price: i64,
pub conf: u64,
pub status: PriceStatus,
pub corp_act: CorpAction,
pub pub_slot: u64,
}
Expand description
A price and confidence at a specific slot. This struct can represent either a publisher’s contribution or the outcome of price aggregation.
Fields
price: i64
the current price
conf: u64
confidence interval around the price
status: PriceStatus
status of price (Trading is valid)
corp_act: CorpAction
notification of any corporate action
pub_slot: u64
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PriceInfo
impl UnwindSafe for PriceInfo
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more