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