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