pub struct DepthParams {
pub symbol: String,
pub limit: Option<i32>,
pub symbol_status: Option<DepthSymbolStatusEnum>,
}Expand description
Request parameters for the [depth] operation.
This struct holds all of the inputs you can pass when calling
depth.
Fields§
§symbol: StringThe symbol parameter.
This field is **required.
limit: Option<i32>If limit > 5000, only 5000 entries will be returned.
This field is **optional.
symbol_status: Option<DepthSymbolStatusEnum>Filters for symbols that have this tradingStatus.
A status mismatch returns error -1220 SYMBOL_DOES_NOT_MATCH_STATUS.
This field is **optional.
Implementations§
Source§impl DepthParams
impl DepthParams
Sourcepub fn builder(symbol: String) -> DepthParamsBuilder
pub fn builder(symbol: String) -> DepthParamsBuilder
Create a builder for [depth].
Required parameters:
symbol— String
Trait Implementations§
Source§impl Clone for DepthParams
impl Clone for DepthParams
Source§fn clone(&self) -> DepthParams
fn clone(&self) -> DepthParams
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 DepthParams
impl Debug for DepthParams
Source§impl<'de> Deserialize<'de> for DepthParams
impl<'de> Deserialize<'de> for DepthParams
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
Auto Trait Implementations§
impl Freeze for DepthParams
impl RefUnwindSafe for DepthParams
impl Send for DepthParams
impl Sync for DepthParams
impl Unpin for DepthParams
impl UnsafeUnpin for DepthParams
impl UnwindSafe for DepthParams
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