pub struct ResolvedCrossChainOrder {
pub settlement_contract: Address,
pub swapper: Address,
pub nonce: u64,
pub origin_chain_id: u32,
pub fill_deadline: u32,
pub max_spent: Vec<Output>,
pub min_received: Vec<Output>,
pub fill_instructions: Vec<FillInstruction>,
}Expand description
7683 ResolvedCrossChainOrder — what IOriginSettler.resolve returns.
Solvers use this to decide whether to take an order.
Fields§
§settlement_contract: Address§swapper: Address§nonce: u64§origin_chain_id: u32§fill_deadline: u32§max_spent: Vec<Output>What the solver spent on the destination chain.
min_received: Vec<Output>What the user receives on the origin chain (typically the locked inputs released to the solver after fill).
fill_instructions: Vec<FillInstruction>Trait Implementations§
Source§impl Clone for ResolvedCrossChainOrder
impl Clone for ResolvedCrossChainOrder
Source§fn clone(&self) -> ResolvedCrossChainOrder
fn clone(&self) -> ResolvedCrossChainOrder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResolvedCrossChainOrder
impl Debug for ResolvedCrossChainOrder
Source§impl<'de> Deserialize<'de> for ResolvedCrossChainOrder
impl<'de> Deserialize<'de> for ResolvedCrossChainOrder
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
impl Eq for ResolvedCrossChainOrder
Source§impl PartialEq for ResolvedCrossChainOrder
impl PartialEq for ResolvedCrossChainOrder
Source§fn eq(&self, other: &ResolvedCrossChainOrder) -> bool
fn eq(&self, other: &ResolvedCrossChainOrder) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ResolvedCrossChainOrder
impl Serialize for ResolvedCrossChainOrder
impl StructuralPartialEq for ResolvedCrossChainOrder
Auto Trait Implementations§
impl Freeze for ResolvedCrossChainOrder
impl RefUnwindSafe for ResolvedCrossChainOrder
impl Send for ResolvedCrossChainOrder
impl Sync for ResolvedCrossChainOrder
impl Unpin for ResolvedCrossChainOrder
impl UnsafeUnpin for ResolvedCrossChainOrder
impl UnwindSafe for ResolvedCrossChainOrder
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