pub struct DexName(/* private fields */);Expand description
A HIP-3 perp dex name or a spot deployer label: 2 to 4 lower case
letters. The two share one set of names, so a label cannot repeat a dex
and a dex cannot repeat a label. Whether a name is taken is for the
caller to ask perpDexs.
Implementations§
Trait Implementations§
impl Eq for DexName
Source§impl Ord for DexName
impl Ord for DexName
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for DexName
impl PartialOrd for DexName
impl StructuralPartialEq for DexName
Auto Trait Implementations§
impl Forget for DexName
impl Freeze for DexName
impl Move for DexName
impl RefUnwindSafe for DexName
impl Send for DexName
impl Sync for DexName
impl Unpin for DexName
impl UnsafeUnpin for DexName
impl UnwindSafe for DexName
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.