pub struct DexIntegration {
pub dex: String,
pub integration_type: String,
pub has_slippage_protection: bool,
pub has_deadline_protection: bool,
}Expand description
DEX integration details.
Fields§
§dex: StringDEX name/protocol.
integration_type: StringType of integration.
has_slippage_protection: boolWhether slippage protection is present.
has_deadline_protection: boolWhether deadline protection is present.
Trait Implementations§
Source§impl Clone for DexIntegration
impl Clone for DexIntegration
Source§impl Debug for DexIntegration
impl Debug for DexIntegration
Source§impl<'de> Deserialize<'de> for DexIntegration
impl<'de> Deserialize<'de> for DexIntegration
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
Auto Trait Implementations§
impl Forget for DexIntegration
impl Freeze for DexIntegration
impl RefUnwindSafe for DexIntegration
impl Send for DexIntegration
impl Sync for DexIntegration
impl Unpin for DexIntegration
impl UnsafeUnpin for DexIntegration
impl UnwindSafe for DexIntegration
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