pub struct FullDepthParams {
pub symbol: String,
pub limit: Option<FullDepthLimitEnum>,
}Expand description
Request parameters for the [full_depth] operation.
This struct holds all of the inputs you can pass when calling
full_depth.
Fields§
§symbol: StringTrading pair symbol, e.g. ALPHA_175USDT (use token ID from Token List).
This field is **required.
limit: Option<FullDepthLimitEnum>Number of price levels to return. Valid values: 5, 10, 20, 50, 100, 500, 1000.
This field is **optional.
Implementations§
Source§impl FullDepthParams
impl FullDepthParams
Sourcepub fn builder(symbol: String) -> FullDepthParamsBuilder
pub fn builder(symbol: String) -> FullDepthParamsBuilder
Create a builder for [full_depth].
Required parameters:
symbol— Trading pair symbol, e.g.ALPHA_175USDT(use token ID from Token List).
Trait Implementations§
Source§impl Clone for FullDepthParams
impl Clone for FullDepthParams
Source§fn clone(&self) -> FullDepthParams
fn clone(&self) -> FullDepthParams
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 FullDepthParams
impl Debug for FullDepthParams
Source§impl<'de> Deserialize<'de> for FullDepthParams
impl<'de> Deserialize<'de> for FullDepthParams
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 FullDepthParams
impl RefUnwindSafe for FullDepthParams
impl Send for FullDepthParams
impl Sync for FullDepthParams
impl Unpin for FullDepthParams
impl UnsafeUnpin for FullDepthParams
impl UnwindSafe for FullDepthParams
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