pub struct FeedInfo {
pub oracle: Pubkey,
pub subscriber: Pubkey,
pub code: String,
pub unit: String,
pub decimals: u64,
pub aggregate_time: u64,
pub aggregate_node_count: u64,
pub floor_price: u64,
pub ai_floor_price: u64,
pub avg_price: u64,
}Fields§
§oracle: Pubkey§subscriber: Pubkey§code: String§unit: String§decimals: u64§aggregate_time: u64§aggregate_node_count: u64§floor_price: u64§ai_floor_price: u64§avg_price: u64Trait Implementations§
Source§impl BorshDeserialize for FeedInfo
impl BorshDeserialize for FeedInfo
Auto Trait Implementations§
impl Freeze for FeedInfo
impl RefUnwindSafe for FeedInfo
impl Send for FeedInfo
impl Sync for FeedInfo
impl Unpin for FeedInfo
impl UnsafeUnpin for FeedInfo
impl UnwindSafe for FeedInfo
Blanket Implementations§
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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