pub struct DexPoolBalance { /* private fields */ }Implementations§
Source§impl DexPoolBalance
impl DexPoolBalance
pub fn pool_address<T>(self, value: T) -> Self
pub fn token_a_address<T>(self, value: T) -> Self
pub fn token_a_liquidity_in_usd<T>(self, value: T) -> Self
pub fn token_b_address<T>(self, value: T) -> Self
pub fn token_b_liquidity_in_usd<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for DexPoolBalance
impl Clone for DexPoolBalance
Source§fn clone(&self) -> DexPoolBalance
fn clone(&self) -> DexPoolBalance
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DexPoolBalance
impl Debug for DexPoolBalance
Source§impl Default for DexPoolBalance
impl Default for DexPoolBalance
Source§impl From<DexPoolBalance> for DexPoolBalance
impl From<DexPoolBalance> for DexPoolBalance
Source§fn from(value: DexPoolBalance) -> Self
fn from(value: DexPoolBalance) -> Self
Converts to this type from the input type.
Source§impl TryFrom<DexPoolBalance> for DexPoolBalance
impl TryFrom<DexPoolBalance> for DexPoolBalance
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: DexPoolBalance) -> Result<Self, ConversionError>
fn try_from(value: DexPoolBalance) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for DexPoolBalance
impl RefUnwindSafe for DexPoolBalance
impl Send for DexPoolBalance
impl Sync for DexPoolBalance
impl Unpin for DexPoolBalance
impl UnsafeUnpin for DexPoolBalance
impl UnwindSafe for DexPoolBalance
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