pub enum SwapAggregator {
Jupiter,
Okx,
Titan,
Dflow,
}Expand description
A router whose historical swaps a session can reroute. Lowercase on the wire; parsing ignores case and surrounding spaces.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SwapAggregator
impl Clone for SwapAggregator
impl Copy for SwapAggregator
Source§impl Debug for SwapAggregator
impl Debug for SwapAggregator
Source§impl<'de> Deserialize<'de> for SwapAggregator
impl<'de> Deserialize<'de> for SwapAggregator
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 SwapAggregator
impl Display for SwapAggregator
impl Eq for SwapAggregator
Source§impl<'_derivative_strum> From<&'_derivative_strum SwapAggregator> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum SwapAggregator> for &'static str
Source§fn from(x: &'_derivative_strum SwapAggregator) -> &'static str
fn from(x: &'_derivative_strum SwapAggregator) -> &'static str
Converts to this type from the input type.
Source§impl From<SwapAggregator> for &'static str
impl From<SwapAggregator> for &'static str
Source§fn from(x: SwapAggregator) -> &'static str
fn from(x: SwapAggregator) -> &'static str
Converts to this type from the input type.
Source§impl FromStr for SwapAggregator
impl FromStr for SwapAggregator
Source§impl Ord for SwapAggregator
impl Ord for SwapAggregator
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SwapAggregator
impl PartialEq for SwapAggregator
Source§impl PartialOrd for SwapAggregator
impl PartialOrd for SwapAggregator
Source§impl Serialize for SwapAggregator
impl Serialize for SwapAggregator
impl StructuralPartialEq for SwapAggregator
Auto Trait Implementations§
impl Forget for SwapAggregator
impl Freeze for SwapAggregator
impl Move for SwapAggregator
impl RefUnwindSafe for SwapAggregator
impl Send for SwapAggregator
impl Sync for SwapAggregator
impl Unpin for SwapAggregator
impl UnsafeUnpin for SwapAggregator
impl UnwindSafe for SwapAggregator
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