Enum pyth_sdk_solana::state::AccountType
source · #[repr(C)]
pub enum AccountType {
Unknown,
Mapping,
Product,
Price,
}
Expand description
The type of Pyth account determines what data it contains
Variants§
Trait Implementations§
source§impl BorshDeserialize for AccountType
impl BorshDeserialize for AccountType
source§impl BorshSerialize for AccountType
impl BorshSerialize for AccountType
source§impl Clone for AccountType
impl Clone for AccountType
source§fn clone(&self) -> AccountType
fn clone(&self) -> AccountType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AccountType
impl Debug for AccountType
source§impl Default for AccountType
impl Default for AccountType
source§impl<'de> Deserialize<'de> for AccountType
impl<'de> Deserialize<'de> for AccountType
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