pub struct Permit2TxInfo {
pub permit2_allowance_target: String,
pub method_abi: Abi,
pub permit_nonce: String,
pub eip712: Eip712TypedDataWithMessage,
}
Fields§
§permit2_allowance_target: String
The address of the Permit2 contract for which the retail trader needs to have an allowance for the send token in order to use this gasless approval method.
method_abi: Abi
The ABI of the DFlowSwap contract method to use to fill the order
permit_nonce: String
permitNonce
value to use when calling the DFlowSwap contract fill method
specified by methodAbi
eip712: Eip712TypedDataWithMessage
The Permit2 SignatureTransfer to sign
Trait Implementations§
Source§impl Clone for Permit2TxInfo
impl Clone for Permit2TxInfo
Source§fn clone(&self) -> Permit2TxInfo
fn clone(&self) -> Permit2TxInfo
Returns a duplicate of the value. Read more
1.0.0 · 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 Permit2TxInfo
impl Debug for Permit2TxInfo
Source§impl<'de> Deserialize<'de> for Permit2TxInfo
impl<'de> Deserialize<'de> for Permit2TxInfo
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
Source§impl PartialEq for Permit2TxInfo
impl PartialEq for Permit2TxInfo
Source§impl Serialize for Permit2TxInfo
impl Serialize for Permit2TxInfo
impl Eq for Permit2TxInfo
impl StructuralPartialEq for Permit2TxInfo
Auto Trait Implementations§
impl Freeze for Permit2TxInfo
impl RefUnwindSafe for Permit2TxInfo
impl Send for Permit2TxInfo
impl Sync for Permit2TxInfo
impl Unpin for Permit2TxInfo
impl UnwindSafe for Permit2TxInfo
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