pub struct GetTickPricesRequest {
pub level: u32,
pub symbols: Vec<String>,
pub timestamp: u64,
}Expand description
Structure representing a level
Fields§
§level: u32Price level
symbols: Vec<String>Array of symbol names
timestamp: u64The time from which the most recent tick should be looked for
Implementations§
Source§impl GetTickPricesRequest
impl GetTickPricesRequest
Sourcepub fn with_level(self, value: impl Into<u32>) -> Self
pub fn with_level(self, value: impl Into<u32>) -> Self
Sets the level field of this struct.
Sourcepub fn with_symbols(self, value: impl Into<Vec<String>>) -> Self
pub fn with_symbols(self, value: impl Into<Vec<String>>) -> Self
Sets the symbols field of this struct.
Sourcepub fn with_timestamp(self, value: impl Into<u64>) -> Self
pub fn with_timestamp(self, value: impl Into<u64>) -> Self
Sets the timestamp field of this struct.
Trait Implementations§
Source§impl Clone for GetTickPricesRequest
impl Clone for GetTickPricesRequest
Source§fn clone(&self) -> GetTickPricesRequest
fn clone(&self) -> GetTickPricesRequest
Returns a copy 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 GetTickPricesRequest
impl Debug for GetTickPricesRequest
Source§impl Default for GetTickPricesRequest
impl Default for GetTickPricesRequest
Source§fn default() -> GetTickPricesRequest
fn default() -> GetTickPricesRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetTickPricesRequest
impl<'de> Deserialize<'de> for GetTickPricesRequest
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 GetTickPricesRequest
impl PartialEq for GetTickPricesRequest
Source§impl Serialize for GetTickPricesRequest
impl Serialize for GetTickPricesRequest
impl StructuralPartialEq for GetTickPricesRequest
Auto Trait Implementations§
impl Freeze for GetTickPricesRequest
impl RefUnwindSafe for GetTickPricesRequest
impl Send for GetTickPricesRequest
impl Sync for GetTickPricesRequest
impl Unpin for GetTickPricesRequest
impl UnwindSafe for GetTickPricesRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)