pub enum PoolAddress {
MercurialPoolAddress(String),
SaberPoolAddress(String),
OrcaPoolTokenMintAddress(String),
RaydiumPoolAddress(String),
OrcaPoolAddress(String),
PortReserveAddress(String),
}
Variants§
MercurialPoolAddress(String)
Mercurial finance pool address.
SaberPoolAddress(String)
Saber pool address.
OrcaPoolTokenMintAddress(String)
@deprecated Use orcaPoolAddress
RaydiumPoolAddress(String)
The Raydium liquidity pool ammId.
OrcaPoolAddress(String)
Pool address for an Orca LP pool or whirlpool.
PortReserveAddress(String)
The Port reserve pubkey.
Implementations§
Source§impl PoolAddress
impl PoolAddress
Sourcepub fn merge<B>(
field: &mut Option<PoolAddress>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext,
) -> Result<(), DecodeError>where
B: Buf,
pub fn merge<B>(
field: &mut Option<PoolAddress>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext,
) -> Result<(), DecodeError>where
B: Buf,
Decodes an instance of the message from a buffer, and merges it into self.
Sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
Source§impl Clone for PoolAddress
impl Clone for PoolAddress
Source§fn clone(&self) -> PoolAddress
fn clone(&self) -> PoolAddress
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 PoolAddress
impl Debug for PoolAddress
Source§impl PartialEq for PoolAddress
impl PartialEq for PoolAddress
impl StructuralPartialEq for PoolAddress
Auto Trait Implementations§
impl Freeze for PoolAddress
impl RefUnwindSafe for PoolAddress
impl Send for PoolAddress
impl Sync for PoolAddress
impl Unpin for PoolAddress
impl UnwindSafe for PoolAddress
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