pub enum HyperliquidNetwork {
Mainnet,
Testnet,
Custom {
rest_url: String,
ws_url: String,
},
}Expand description
Hyperliquid environment selection.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for HyperliquidNetwork
impl Clone for HyperliquidNetwork
Source§fn clone(&self) -> HyperliquidNetwork
fn clone(&self) -> HyperliquidNetwork
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 HyperliquidNetwork
impl Debug for HyperliquidNetwork
Source§impl Default for HyperliquidNetwork
impl Default for HyperliquidNetwork
Source§impl<'de> Deserialize<'de> for HyperliquidNetwork
impl<'de> Deserialize<'de> for HyperliquidNetwork
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for HyperliquidNetwork
impl PartialEq for HyperliquidNetwork
Source§fn eq(&self, other: &HyperliquidNetwork) -> bool
fn eq(&self, other: &HyperliquidNetwork) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HyperliquidNetwork
impl Serialize for HyperliquidNetwork
impl Eq for HyperliquidNetwork
impl StructuralPartialEq for HyperliquidNetwork
Auto Trait Implementations§
impl Freeze for HyperliquidNetwork
impl RefUnwindSafe for HyperliquidNetwork
impl Send for HyperliquidNetwork
impl Sync for HyperliquidNetwork
impl Unpin for HyperliquidNetwork
impl UnsafeUnpin for HyperliquidNetwork
impl UnwindSafe for HyperliquidNetwork
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
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.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.