Struct pyth_client::PriceComp [−][src]
#[repr(C)]pub struct PriceComp {
pub publisher: AccKey,
pub agg: PriceInfo,
pub latest: PriceInfo,
}
Expand description
The price and confidence contributed by a specific publisher.
Fields
publisher: AccKey
key of contributing publisher
agg: PriceInfo
the price used to compute the current aggregate price
latest: PriceInfo
The publisher’s latest price. This price will be incorporated into the aggregate price when price aggregation runs next.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PriceComp
impl UnwindSafe for PriceComp
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more