pub struct BarQueryParams {
pub symbol: String,
pub time_frame: TimeFrame,
pub start_date: Option<DateTime<Utc>>,
pub end_date: Option<DateTime<Utc>>,
pub limit: Option<u32>,
}Expand description
Parameters for querying bar data.
Fields§
§symbol: StringSymbol to query
time_frame: TimeFrameTime frame for the bars
start_date: Option<DateTime<Utc>>Start date for the query
end_date: Option<DateTime<Utc>>End date for the query
limit: Option<u32>Maximum number of bars to return
Implementations§
Trait Implementations§
Source§impl Clone for BarQueryParams
impl Clone for BarQueryParams
Source§fn clone(&self) -> BarQueryParams
fn clone(&self) -> BarQueryParams
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 BarQueryParams
impl Debug for BarQueryParams
Source§impl<'de> Deserialize<'de> for BarQueryParams
impl<'de> Deserialize<'de> for BarQueryParams
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
Auto Trait Implementations§
impl Freeze for BarQueryParams
impl RefUnwindSafe for BarQueryParams
impl Send for BarQueryParams
impl Sync for BarQueryParams
impl Unpin for BarQueryParams
impl UnwindSafe for BarQueryParams
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