pub struct PartialBookDepthParams {
pub symbol: String,
pub levels: PartialBookDepthLevelsEnum,
pub id: Option<String>,
pub update_speed: Option<String>,
}Expand description
Request parameters for the [partial_book_depth] operation.
This struct holds all of the inputs you can pass when calling
partial_book_depth.
Fields§
§symbol: StringSymbol to query
This field is **required.
levels: PartialBookDepthLevelsEnumThe levels parameter.
This field is **required.
id: Option<String>Unique WebSocket request ID.
This field is **optional.
update_speed: Option<String>1000ms or 100ms
This field is **optional.
Implementations§
Source§impl PartialBookDepthParams
impl PartialBookDepthParams
Sourcepub fn builder(
symbol: String,
levels: PartialBookDepthLevelsEnum,
) -> PartialBookDepthParamsBuilder
pub fn builder( symbol: String, levels: PartialBookDepthLevelsEnum, ) -> PartialBookDepthParamsBuilder
Create a builder for [partial_book_depth].
Required parameters:
symbol— Symbol to querylevels— String
Trait Implementations§
Source§impl Clone for PartialBookDepthParams
impl Clone for PartialBookDepthParams
Source§fn clone(&self) -> PartialBookDepthParams
fn clone(&self) -> PartialBookDepthParams
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 PartialBookDepthParams
impl RefUnwindSafe for PartialBookDepthParams
impl Send for PartialBookDepthParams
impl Sync for PartialBookDepthParams
impl Unpin for PartialBookDepthParams
impl UnsafeUnpin for PartialBookDepthParams
impl UnwindSafe for PartialBookDepthParams
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