Enum binance::rest_model::RateLimitType
source · pub enum RateLimitType {
RequestWeight,
Orders,
RawRequests,
Other,
}Expand description
API Rate Limit Example { “rateLimitType”: “REQUEST_WEIGHT”, “interval”: “MINUTE”, “intervalNum”: 1, “limit”: 1200 }
Variants§
Trait Implementations§
source§impl Clone for RateLimitType
impl Clone for RateLimitType
source§fn clone(&self) -> RateLimitType
fn clone(&self) -> RateLimitType
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 RateLimitType
impl Debug for RateLimitType
source§impl<'de> Deserialize<'de> for RateLimitType
impl<'de> Deserialize<'de> for RateLimitType
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<RateLimitType> for RateLimitType
impl PartialEq<RateLimitType> for RateLimitType
source§fn eq(&self, other: &RateLimitType) -> bool
fn eq(&self, other: &RateLimitType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for RateLimitType
impl Serialize for RateLimitType
impl Eq for RateLimitType
impl StructuralEq for RateLimitType
impl StructuralPartialEq for RateLimitType
Auto Trait Implementations§
impl RefUnwindSafe for RateLimitType
impl Send for RateLimitType
impl Sync for RateLimitType
impl Unpin for RateLimitType
impl UnwindSafe for RateLimitType
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.