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