pub struct RerouteLegNotification {
pub input_mint: Address,
pub output_mint: Address,
pub amount: u64,
pub swap_mode: String,
pub original_quoted_out: u64,
pub metis_quoted_out: u64,
pub route_summary: String,
pub route_plan: Option<RoutePlan>,
pub original_route_plan: Option<RoutePlan>,
pub realized_route_plan: Option<RoutePlan>,
}Expand description
One re-quoted swap within a rerouted transaction’s simulation.
Fields§
§input_mint: Address§output_mint: Address§amount: u64§swap_mode: String§original_quoted_out: u64§metis_quoted_out: u64§route_summary: String§route_plan: Option<RoutePlan>The route metis quoted, when it returned one.
original_route_plan: Option<RoutePlan>The route the original took on L1, which the re-quote displaced.
realized_route_plan: Option<RoutePlan>What each hop actually moved. route_plan is the quote; this is the fill, and the side
to compare original_route_plan against.
Trait Implementations§
Source§impl Clone for RerouteLegNotification
impl Clone for RerouteLegNotification
Source§impl Debug for RerouteLegNotification
impl Debug for RerouteLegNotification
Source§impl<'de> Deserialize<'de> for RerouteLegNotification
impl<'de> Deserialize<'de> for RerouteLegNotification
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 Freeze for RerouteLegNotification
impl RefUnwindSafe for RerouteLegNotification
impl Send for RerouteLegNotification
impl Sync for RerouteLegNotification
impl Unpin for RerouteLegNotification
impl UnsafeUnpin for RerouteLegNotification
impl UnwindSafe for RerouteLegNotification
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