pub struct CreateEndUserEvmSwapSimulationInput { /* private fields */ }Implementations§
Source§impl CreateEndUserEvmSwapSimulationInput
impl CreateEndUserEvmSwapSimulationInput
pub fn from_amount<T>(self, value: T) -> Self
pub fn from_token<T>(self, value: T) -> Self
pub fn network<T>(self, value: T) -> Self
pub fn operation<T>(self, value: T) -> Self
pub fn paymaster_url<T>(self, value: T) -> Self
pub fn slippage_bps<T>(self, value: T) -> Self
pub fn taker<T>(self, value: T) -> Self
pub fn to_token<T>(self, value: T) -> Self
pub fn use_cdp_paymaster<T>(self, value: T) -> Self
pub fn user_id<T>(self, value: T) -> Self
Trait Implementations§
Source§impl From<CreateEndUserEvmSwapSimulationInput> for CreateEndUserEvmSwapSimulationInput
impl From<CreateEndUserEvmSwapSimulationInput> for CreateEndUserEvmSwapSimulationInput
Source§fn from(value: CreateEndUserEvmSwapSimulationInput) -> Self
fn from(value: CreateEndUserEvmSwapSimulationInput) -> Self
Converts to this type from the input type.
Source§impl TryFrom<CreateEndUserEvmSwapSimulationInput> for CreateEndUserEvmSwapSimulationInput
impl TryFrom<CreateEndUserEvmSwapSimulationInput> for CreateEndUserEvmSwapSimulationInput
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: CreateEndUserEvmSwapSimulationInput,
) -> Result<Self, ConversionError>
fn try_from( value: CreateEndUserEvmSwapSimulationInput, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for CreateEndUserEvmSwapSimulationInput
impl RefUnwindSafe for CreateEndUserEvmSwapSimulationInput
impl Send for CreateEndUserEvmSwapSimulationInput
impl Sync for CreateEndUserEvmSwapSimulationInput
impl Unpin for CreateEndUserEvmSwapSimulationInput
impl UnsafeUnpin for CreateEndUserEvmSwapSimulationInput
impl UnwindSafe for CreateEndUserEvmSwapSimulationInput
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