pub struct MevConfig {
pub enabled: bool,
pub relay_url: Option<String>,
pub auto_detect: bool,
}Expand description
MEV protection configuration.
Fields§
§enabled: boolWhether MEV protection is enabled.
relay_url: Option<String>Private relay URL (e.g. Flashbots Protect).
auto_detect: boolAuto-detect MEV-susceptible transactions (swaps, liquidations).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MevConfig
impl RefUnwindSafe for MevConfig
impl Send for MevConfig
impl Sync for MevConfig
impl Unpin for MevConfig
impl UnsafeUnpin for MevConfig
impl UnwindSafe for MevConfig
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