pub struct ClientFeeParams { /* private fields */ }Expand description
Client fee configuration for the Tycho Router.
When provided, the router charges a client fee on the swap output. The signature
must be an EIP-712 signature by the receiver over the ClientFee typed data.
Implementations§
Trait Implementations§
Source§impl Clone for ClientFeeParams
impl Clone for ClientFeeParams
Source§fn clone(&self) -> ClientFeeParams
fn clone(&self) -> ClientFeeParams
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 ClientFeeParams
impl Debug for ClientFeeParams
Source§impl<'de> Deserialize<'de> for ClientFeeParams
impl<'de> Deserialize<'de> for ClientFeeParams
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 ClientFeeParams
impl RefUnwindSafe for ClientFeeParams
impl Send for ClientFeeParams
impl Sync for ClientFeeParams
impl Unpin for ClientFeeParams
impl UnsafeUnpin for ClientFeeParams
impl UnwindSafe for ClientFeeParams
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