pub struct SbPriceUpdates {
pub feeds: Vec<Pubkey>,
pub price_submissions: Vec<MultiSubmission>,
pub slot: u64,
pub queue: Pubkey,
pub oracle_keys: Vec<Pubkey>,
}Expand description
Swtichboard Price Updates type.
Fields§
§feeds: Vec<Pubkey>The list of feed pubkeys for which prices were fetched.
price_submissions: Vec<MultiSubmission>The list of price submissions from each oracles.
slot: u64The slot number for which the price updates were signed with the slothash.
queue: PubkeyThe queue (network) to which all feeds are owned. This will always be the same unless the network of oracles you use is non-standard.
oracle_keys: Vec<Pubkey>The list of oracle pubkeys that signed the price updates.
Auto Trait Implementations§
impl Freeze for SbPriceUpdates
impl RefUnwindSafe for SbPriceUpdates
impl Send for SbPriceUpdates
impl Sync for SbPriceUpdates
impl Unpin for SbPriceUpdates
impl UnwindSafe for SbPriceUpdates
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more