pub struct CreateSwapQuoteResponse { /* private fields */ }
Implementations§
Source§impl CreateSwapQuoteResponse
impl CreateSwapQuoteResponse
pub fn block_number<T>(self, value: T) -> Self
pub fn fees<T>(self, value: T) -> Self
pub fn from_amount<T>(self, value: T) -> Self
pub fn from_token<T>(self, value: T) -> Self
pub fn issues<T>(self, value: T) -> Self
pub fn liquidity_available<T>(self, value: T) -> Self
pub fn min_to_amount<T>(self, value: T) -> Self
pub fn permit2<T>(self, value: T) -> Self
pub fn to_amount<T>(self, value: T) -> Self
pub fn to_token<T>(self, value: T) -> Self
pub fn transaction<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for CreateSwapQuoteResponse
impl Clone for CreateSwapQuoteResponse
Source§fn clone(&self) -> CreateSwapQuoteResponse
fn clone(&self) -> CreateSwapQuoteResponse
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 CreateSwapQuoteResponse
impl Debug for CreateSwapQuoteResponse
Source§impl Default for CreateSwapQuoteResponse
impl Default for CreateSwapQuoteResponse
Source§impl From<CreateSwapQuoteResponse> for CreateSwapQuoteResponse
impl From<CreateSwapQuoteResponse> for CreateSwapQuoteResponse
Source§fn from(value: CreateSwapQuoteResponse) -> Self
fn from(value: CreateSwapQuoteResponse) -> Self
Converts to this type from the input type.
Source§impl TryFrom<CreateSwapQuoteResponse> for CreateSwapQuoteResponse
impl TryFrom<CreateSwapQuoteResponse> for CreateSwapQuoteResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: CreateSwapQuoteResponse) -> Result<Self, ConversionError>
fn try_from(value: CreateSwapQuoteResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for CreateSwapQuoteResponse
impl RefUnwindSafe for CreateSwapQuoteResponse
impl Send for CreateSwapQuoteResponse
impl Sync for CreateSwapQuoteResponse
impl Unpin for CreateSwapQuoteResponse
impl UnwindSafe for CreateSwapQuoteResponse
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