Enum pyth_sdk_solana::state::PriceType
source · #[repr(C)]
pub enum PriceType {
Unknown,
Price,
}
Expand description
The type of prices associated with a product – each product may have multiple price feeds of different types.
Variants§
Trait Implementations§
source§impl BorshDeserialize for PriceType
impl BorshDeserialize for PriceType
source§impl BorshSerialize for PriceType
impl BorshSerialize for PriceType
source§impl<'de> Deserialize<'de> for PriceType
impl<'de> Deserialize<'de> for PriceType
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