pub struct DepthParams {
pub symbol: String,
pub id: Option<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.
id: Option<String>Unique WebSocket request ID.
This field is **optional.
limit: Option<i32>Default: 100; Maximum: 5000
This field is **optional.
symbol_status: Option<DepthSymbolStatusEnum>The symbol_status parameter.
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 moreAuto 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