pub struct GetExchangeScheduleParams {
pub mic_name: Option<String>,
pub mic_code: Option<String>,
pub country: Option<String>,
pub date: Option<String>,
}Expand description
struct for passing parameters to the method get_exchange_schedule
Fields§
§mic_name: Option<String>Filter by exchange name
mic_code: Option<String>Filter by market identifier code (MIC) under ISO 10383 standard
country: Option<String>Filter by country name or alpha code, e.g., United States or US
date: Option<String>If a date is provided, the API returns the schedule for the specified date; otherwise, it returns the default (common) schedule.
The date can be specified in one of the following formats:- An exact date (e.g.,
2021-10-27) - A human-readable keyword:
todayoryesterday - A full datetime string in UTC (e.g.,
2025-04-11T20:00:00) to retrieve the schedule corresponding to the day in the specified time.
2025-04-11T20:00:00 UTC corresponds to: 2025-04-11in theAmerica/New_Yorktimezone2025-04-12in theAustralia/Sydneytimezone
Implementations§
Source§impl GetExchangeScheduleParams
impl GetExchangeScheduleParams
Sourcepub fn builder() -> GetExchangeScheduleParamsBuilder
pub fn builder() -> GetExchangeScheduleParamsBuilder
Create a new builder for this parameter struct
Trait Implementations§
Source§impl Clone for GetExchangeScheduleParams
impl Clone for GetExchangeScheduleParams
Source§fn clone(&self) -> GetExchangeScheduleParams
fn clone(&self) -> GetExchangeScheduleParams
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 GetExchangeScheduleParams
impl Debug for GetExchangeScheduleParams
Source§impl Default for GetExchangeScheduleParams
impl Default for GetExchangeScheduleParams
Source§fn default() -> GetExchangeScheduleParams
fn default() -> GetExchangeScheduleParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetExchangeScheduleParams
impl RefUnwindSafe for GetExchangeScheduleParams
impl Send for GetExchangeScheduleParams
impl Sync for GetExchangeScheduleParams
impl Unpin for GetExchangeScheduleParams
impl UnwindSafe for GetExchangeScheduleParams
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