pub enum BybitHttpAuth {
Type1,
SpotType1,
Type2,
None,
}Expand description
Represents the auth type.
| API | type |
|---|---|
| Derivatives v3 Unified Margin | Type2 |
| Derivatives v3 Contract | Type2 |
| Futures v2 Inverse Perpetual | Type1 |
| Futures v2 USDT Perpetual | Type1 |
| Futures v2 Inverse Futures | Type1 |
| Spot v3 | Type2 |
| Spot v1 | SpotType1 |
| Account Asset v3 | Type2 |
| Account Asset v1 | Type1 |
| Copy Trading | Type2 |
| USDC Contract Option | Type2 |
| USDC Contract Perpetual | Type2 |
| Tax | Type2 |
Variants§
Trait Implementations§
Source§impl Clone for BybitHttpAuth
impl Clone for BybitHttpAuth
Source§fn clone(&self) -> BybitHttpAuth
fn clone(&self) -> BybitHttpAuth
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 BybitHttpAuth
impl Debug for BybitHttpAuth
Source§impl PartialEq for BybitHttpAuth
impl PartialEq for BybitHttpAuth
Source§fn eq(&self, other: &BybitHttpAuth) -> bool
fn eq(&self, other: &BybitHttpAuth) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for BybitHttpAuth
impl Eq for BybitHttpAuth
impl StructuralPartialEq for BybitHttpAuth
Auto Trait Implementations§
impl Freeze for BybitHttpAuth
impl RefUnwindSafe for BybitHttpAuth
impl Send for BybitHttpAuth
impl Sync for BybitHttpAuth
impl Unpin for BybitHttpAuth
impl UnsafeUnpin for BybitHttpAuth
impl UnwindSafe for BybitHttpAuth
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.