pub struct Measurement {
pub outcome: Ordering,
pub l1_usd: f64,
pub rerouted_usd: f64,
}Expand description
One measured leg: how the rerouted route compared and what it was worth.
Fields§
§outcome: OrderingGreater when the reroute beat the original swap, Equal on a tie, Less when it lost.
l1_usd: f64The original swap’s value, in USD.
rerouted_usd: f64The reroute’s value on the same basis, in USD.
Auto Trait Implementations§
impl Forget for Measurement
impl Freeze for Measurement
impl Move for Measurement
impl RefUnwindSafe for Measurement
impl Send for Measurement
impl Sync for Measurement
impl Unpin for Measurement
impl UnsafeUnpin for Measurement
impl UnwindSafe for Measurement
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