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