pub enum OracleType {
Pyth,
Switchboard,
Chainlink,
DIA,
RedStone,
APRO,
Unknown,
}
Expand description
Types of oracles that can be detected in the codebase.
Variants§
Pyth
Pyth Network oracle
Switchboard
Switchboard oracle
Chainlink
Chainlink oracle
DIA
DIA oracle
RedStone
RedStone oracle
APRO
APRO oracle
Unknown
Unknown oracle type
Trait Implementations§
Source§impl Clone for OracleType
impl Clone for OracleType
Source§fn clone(&self) -> OracleType
fn clone(&self) -> OracleType
Returns a duplicate 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 OracleType
impl Debug for OracleType
Source§impl<'de> Deserialize<'de> for OracleType
impl<'de> Deserialize<'de> for OracleType
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 Display for OracleType
impl Display for OracleType
Auto Trait Implementations§
impl Freeze for OracleType
impl RefUnwindSafe for OracleType
impl Send for OracleType
impl Sync for OracleType
impl Unpin for OracleType
impl UnwindSafe for OracleType
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