Enum pyth_sdk_solana::state::CorpAction
source · #[repr(C)]pub enum CorpAction {
NoCorpAct = 0,
}
Expand description
Status of any ongoing corporate actions. (still undergoing dev)
Variants§
NoCorpAct = 0
Trait Implementations§
source§impl BorshDeserialize for CorpAction
impl BorshDeserialize for CorpAction
fn deserialize_reader<R: Read>(reader: &mut R) -> Result<Self, Error>
source§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
source§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where
R: Read,
source§impl BorshSerialize for CorpAction
impl BorshSerialize for CorpAction
source§impl Clone for CorpAction
impl Clone for CorpAction
source§fn clone(&self) -> CorpAction
fn clone(&self) -> CorpAction
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 CorpAction
impl Debug for CorpAction
source§impl Default for CorpAction
impl Default for CorpAction
source§impl<'de> Deserialize<'de> for CorpAction
impl<'de> Deserialize<'de> for CorpAction
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
source§impl EnumExt for CorpAction
impl EnumExt for CorpAction
source§impl PartialEq for CorpAction
impl PartialEq for CorpAction
source§fn eq(&self, other: &CorpAction) -> bool
fn eq(&self, other: &CorpAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CorpAction
impl Serialize for CorpAction
impl Copy for CorpAction
impl Eq for CorpAction
impl StructuralEq for CorpAction
impl StructuralPartialEq for CorpAction
Auto Trait Implementations§
impl RefUnwindSafe for CorpAction
impl Send for CorpAction
impl Sync for CorpAction
impl Unpin for CorpAction
impl UnwindSafe for CorpAction
Blanket Implementations§
§impl<T> AbiEnumVisitor for T
impl<T> AbiEnumVisitor for T
default fn visit_for_abi( &self, digester: &mut AbiDigester ) -> Result<AbiDigester, DigestError>
§impl<T> AbiEnumVisitor for T
impl<T> AbiEnumVisitor for T
default fn visit_for_abi( &self, _digester: &mut AbiDigester ) -> Result<AbiDigester, DigestError>
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more