Enum crypto_botters::bybit::BybitHttpAuth
source · pub enum BybitHttpAuth {
SpotV1,
BelowV3,
UsdcContractV1,
V3AndAbove,
None,
}
Available on crate feature
bybit
only.Expand description
Represents the auth type.
Variants§
SpotV1
BelowV3
“Previous Version” APIs except for Spot V1, USDC Option, and USDC Perpetual
UsdcContractV1
V3AndAbove
None
No authentication (for public APIs)
Trait Implementations§
source§impl Clone for BybitHttpAuth
impl Clone for BybitHttpAuth
source§fn clone(&self) -> BybitHttpAuth
fn clone(&self) -> BybitHttpAuth
Returns a copy 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 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
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BybitHttpAuth
impl Eq for BybitHttpAuth
impl StructuralEq for BybitHttpAuth
impl StructuralPartialEq for BybitHttpAuth
Auto Trait Implementations§
impl RefUnwindSafe for BybitHttpAuth
impl Send for BybitHttpAuth
impl Sync for BybitHttpAuth
impl Unpin 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<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.