pub struct RpcPriceFeed {
pub id: String,
pub price: RpcPrice,
pub ema_price: RpcPrice,
pub metadata: Option<RpcPriceFeedMetadata>,
pub vaa: Option<String>,
}
Fields§
§id: String
§price: RpcPrice
§ema_price: RpcPrice
§metadata: Option<RpcPriceFeedMetadata>
§vaa: Option<String>
Trait Implementations§
Source§impl Debug for RpcPriceFeed
impl Debug for RpcPriceFeed
Source§impl<'de> Deserialize<'de> for RpcPriceFeed
impl<'de> Deserialize<'de> for RpcPriceFeed
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RpcPriceFeed
impl RefUnwindSafe for RpcPriceFeed
impl Send for RpcPriceFeed
impl Sync for RpcPriceFeed
impl Unpin for RpcPriceFeed
impl UnwindSafe for RpcPriceFeed
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