pub struct GetCandlesOpts {
pub symbol: Option<String>,
pub symbol_id: Option<u32>,
pub timeframe: String,
pub limit: Option<u32>,
pub start: Option<i64>,
pub end: Option<i64>,
pub include_incomplete: bool,
pub page_token: Option<String>,
}Expand description
Options for crate::services::MarketDataService::get_candles_with.
Fields§
§symbol: Option<String>§symbol_id: Option<u32>§timeframe: StringCandle interval alias ("1m", "MIN_1", …). Default "1m" when empty.
limit: Option<u32>§start: Option<i64>Inclusive lower bound (unix seconds UTC).
end: Option<i64>Inclusive upper bound (unix seconds UTC).
include_incomplete: bool§page_token: Option<String>Trait Implementations§
Source§impl Clone for GetCandlesOpts
impl Clone for GetCandlesOpts
Source§fn clone(&self) -> GetCandlesOpts
fn clone(&self) -> GetCandlesOpts
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 moreSource§impl Debug for GetCandlesOpts
impl Debug for GetCandlesOpts
Source§impl Default for GetCandlesOpts
impl Default for GetCandlesOpts
Source§fn default() -> GetCandlesOpts
fn default() -> GetCandlesOpts
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetCandlesOpts
impl RefUnwindSafe for GetCandlesOpts
impl Send for GetCandlesOpts
impl Sync for GetCandlesOpts
impl Unpin for GetCandlesOpts
impl UnsafeUnpin for GetCandlesOpts
impl UnwindSafe for GetCandlesOpts
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