pub struct LiquidityPool(pub [u8; 32]);Tuple Fields§
§0: [u8; 32]Implementations§
Source§impl LiquidityPool
impl LiquidityPool
pub fn to_string(&self) -> String
pub fn from_string(s: &str) -> Result<Self, DecodeError>
Trait Implementations§
Source§impl Clone for LiquidityPool
impl Clone for LiquidityPool
Source§fn clone(&self) -> LiquidityPool
fn clone(&self) -> LiquidityPool
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 LiquidityPool
impl Debug for LiquidityPool
Source§impl Display for LiquidityPool
impl Display for LiquidityPool
Source§impl FromStr for LiquidityPool
impl FromStr for LiquidityPool
Source§impl Hash for LiquidityPool
impl Hash for LiquidityPool
Source§impl Ord for LiquidityPool
impl Ord for LiquidityPool
Source§fn cmp(&self, other: &LiquidityPool) -> Ordering
fn cmp(&self, other: &LiquidityPool) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LiquidityPool
impl PartialEq for LiquidityPool
Source§impl PartialOrd for LiquidityPool
impl PartialOrd for LiquidityPool
impl Copy for LiquidityPool
impl Eq for LiquidityPool
impl StructuralPartialEq for LiquidityPool
Auto Trait Implementations§
impl Freeze for LiquidityPool
impl RefUnwindSafe for LiquidityPool
impl Send for LiquidityPool
impl Sync for LiquidityPool
impl Unpin for LiquidityPool
impl UnwindSafe for LiquidityPool
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