Enum pyth_client::PriceType
source · [−]#[repr(C)]
pub enum PriceType {
Unknown,
Price,
}
👎 Deprecated:
This crate has been deprecated. Please use pyth-sdk-solana instead.
Expand description
The type of prices associated with a product – each product may have multiple price feeds of different types.
Variants
Unknown
👎 Deprecated:
This crate has been deprecated. Please use pyth-sdk-solana instead.
Price
👎 Deprecated:
This crate has been deprecated. Please use pyth-sdk-solana instead.
Trait Implementations
sourceimpl BorshDeserialize for PriceType
impl BorshDeserialize for PriceType
sourceimpl BorshSerialize for PriceType
impl BorshSerialize for PriceType
sourceimpl<'de> Deserialize<'de> for PriceType
impl<'de> Deserialize<'de> for PriceType
sourcefn 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
impl Copy for PriceType
impl Eq for PriceType
impl StructuralEq for PriceType
impl StructuralPartialEq for PriceType
Auto Trait Implementations
impl RefUnwindSafe for PriceType
impl Send for PriceType
impl Sync for PriceType
impl Unpin for PriceType
impl UnwindSafe for PriceType
Blanket Implementations
impl<T> AbiEnumVisitor for T where
T: Serialize + ?Sized,
impl<T> AbiEnumVisitor for T where
T: Serialize + ?Sized,
default fn visit_for_abi(
&self,
_digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
impl<T> AbiEnumVisitor for T where
T: Serialize + AbiExample + ?Sized,
impl<T> AbiEnumVisitor for T where
T: Serialize + AbiExample + ?Sized,
default fn visit_for_abi(
&self,
digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more