pub struct StreamGetTickPricesSubscribe {
pub symbol: String,
pub min_arrival_time: Option<u64>,
pub max_level: Option<u64>,
}
Fields§
§symbol: String
Financial instrument symbol
min_arrival_time: Option<u64>
Minimal interval in milliseconds between any two consecutive updates. It is optional.
max_level: Option<u64>
Specifies the maximum level of the quote that the user is interested in. It is optional.
Implementations§
Source§impl StreamGetTickPricesSubscribe
impl StreamGetTickPricesSubscribe
Sourcepub fn with_symbol(self, value: impl Into<String>) -> Self
pub fn with_symbol(self, value: impl Into<String>) -> Self
Sets the symbol
field of this struct.
Sourcepub fn with_min_arrival_time(self, value: impl Into<u64>) -> Self
pub fn with_min_arrival_time(self, value: impl Into<u64>) -> Self
Sets the min_arrival_time
field of this struct.
Sourcepub fn with_max_level(self, value: impl Into<u64>) -> Self
pub fn with_max_level(self, value: impl Into<u64>) -> Self
Sets the max_level
field of this struct.
Trait Implementations§
Source§impl Clone for StreamGetTickPricesSubscribe
impl Clone for StreamGetTickPricesSubscribe
Source§fn clone(&self) -> StreamGetTickPricesSubscribe
fn clone(&self) -> StreamGetTickPricesSubscribe
Returns a duplicate of the value. Read more
1.0.0 · 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 StreamGetTickPricesSubscribe
impl Debug for StreamGetTickPricesSubscribe
Source§impl Default for StreamGetTickPricesSubscribe
impl Default for StreamGetTickPricesSubscribe
Source§fn default() -> StreamGetTickPricesSubscribe
fn default() -> StreamGetTickPricesSubscribe
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StreamGetTickPricesSubscribe
impl<'de> Deserialize<'de> for StreamGetTickPricesSubscribe
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
Source§impl PartialEq for StreamGetTickPricesSubscribe
impl PartialEq for StreamGetTickPricesSubscribe
Source§fn eq(&self, other: &StreamGetTickPricesSubscribe) -> bool
fn eq(&self, other: &StreamGetTickPricesSubscribe) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for StreamGetTickPricesSubscribe
Auto Trait Implementations§
impl Freeze for StreamGetTickPricesSubscribe
impl RefUnwindSafe for StreamGetTickPricesSubscribe
impl Send for StreamGetTickPricesSubscribe
impl Sync for StreamGetTickPricesSubscribe
impl Unpin for StreamGetTickPricesSubscribe
impl UnwindSafe for StreamGetTickPricesSubscribe
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