pub struct DiffBookDepthParams {
pub symbol: String,
pub id: Option<String>,
pub update_speed: Option<String>,
}Expand description
Request parameters for the [diff_book_depth] operation.
This struct holds all of the inputs you can pass when calling
diff_book_depth.
Fields§
§symbol: StringSymbol to query
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 DiffBookDepthParams
impl DiffBookDepthParams
Sourcepub fn builder(symbol: String) -> DiffBookDepthParamsBuilder
pub fn builder(symbol: String) -> DiffBookDepthParamsBuilder
Create a builder for [diff_book_depth].
Required parameters:
symbol— Symbol to query
Trait Implementations§
Source§impl Clone for DiffBookDepthParams
impl Clone for DiffBookDepthParams
Source§fn clone(&self) -> DiffBookDepthParams
fn clone(&self) -> DiffBookDepthParams
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 DiffBookDepthParams
impl RefUnwindSafe for DiffBookDepthParams
impl Send for DiffBookDepthParams
impl Sync for DiffBookDepthParams
impl Unpin for DiffBookDepthParams
impl UnsafeUnpin for DiffBookDepthParams
impl UnwindSafe for DiffBookDepthParams
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