pub struct Collateral(/* private fields */);Expand description
Each perp dex’s collateral token by the dex’s name ("" the main dex), as
allPerpMetas lists collateralToken. A dex not listed posts USDC.
Implementations§
Trait Implementations§
Source§impl Clone for Collateral
impl Clone for Collateral
Source§impl Debug for Collateral
impl Debug for Collateral
Source§impl Default for Collateral
impl Default for Collateral
impl Eq for Collateral
Source§impl FromIterator<(String, u32)> for Collateral
impl FromIterator<(String, u32)> for Collateral
Source§fn from_iter<I: IntoIterator<Item = (String, u32)>>(iter: I) -> Collateral
fn from_iter<I: IntoIterator<Item = (String, u32)>>(iter: I) -> Collateral
Creates a value from an iterator. Read more
Source§impl PartialEq for Collateral
impl PartialEq for Collateral
impl StructuralPartialEq for Collateral
Auto Trait Implementations§
impl Freeze for Collateral
impl RefUnwindSafe for Collateral
impl Send for Collateral
impl Sync for Collateral
impl Unpin for Collateral
impl UnsafeUnpin for Collateral
impl UnwindSafe for Collateral
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.