#[non_exhaustive]pub enum BinanceHttpUrl {
Spot,
Spot1,
Spot2,
Spot3,
Spot4,
SpotTest,
SpotData,
FuturesUsdM,
FuturesCoinM,
FuturesTest,
EuropeanOptions,
None,
}Available on crate feature
binance only.Expand description
A enum that represents the base url of the Binance REST API.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Spot
https://api.binance.com
Spot1
https://api1.binance.com
Spot2
https://api2.binance.com
Spot3
https://api3.binance.com
Spot4
https://api4.binance.com
SpotTest
https://testnet.binance.vision
SpotData
https://data.binance.com
FuturesUsdM
https://fapi.binance.com
FuturesCoinM
https://dapi.binance.com
FuturesTest
https://testnet.binancefuture.com
EuropeanOptions
https://eapi.binance.com
None
The url will not be modified by BinanceRequestHandler
Trait Implementations§
Source§impl Clone for BinanceHttpUrl
impl Clone for BinanceHttpUrl
Source§fn clone(&self) -> BinanceHttpUrl
fn clone(&self) -> BinanceHttpUrl
Returns a duplicate 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 BinanceHttpUrl
impl Debug for BinanceHttpUrl
Source§impl PartialEq for BinanceHttpUrl
impl PartialEq for BinanceHttpUrl
impl Copy for BinanceHttpUrl
impl Eq for BinanceHttpUrl
impl StructuralPartialEq for BinanceHttpUrl
Auto Trait Implementations§
impl Freeze for BinanceHttpUrl
impl RefUnwindSafe for BinanceHttpUrl
impl Send for BinanceHttpUrl
impl Sync for BinanceHttpUrl
impl Unpin for BinanceHttpUrl
impl UnwindSafe for BinanceHttpUrl
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.