pub struct EconomicCalendarRequest {
pub currency: Option<String>,
pub economic_calendar: i64,
pub end_date: Option<i64>,
pub passthrough: Option<Value>,
pub req_id: Option<i64>,
pub start_date: Option<i64>,
}
Expand description
Specify a currency to receive a list of events related to that specific currency. For example, specifying USD will return a list of USD-related events. If the currency is omitted, you will receive a list for all currencies.
Fields§
§currency: Option<String>
[Optional] Currency symbol.\n
economic_calendar: i64
Must be 1
\n
end_date: Option<i64>
[Optional] End date.\n
passthrough: Option<Value>
[Optional] Used to pass data through the websocket, which may be retrieved via the echo_req
output field.\n
req_id: Option<i64>
[Optional] Used to map request to response.\n
start_date: Option<i64>
[Optional] Start date.\n
Trait Implementations§
Source§impl Clone for EconomicCalendarRequest
impl Clone for EconomicCalendarRequest
Source§fn clone(&self) -> EconomicCalendarRequest
fn clone(&self) -> EconomicCalendarRequest
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 EconomicCalendarRequest
impl Debug for EconomicCalendarRequest
Source§impl<'de> Deserialize<'de> for EconomicCalendarRequest
impl<'de> Deserialize<'de> for EconomicCalendarRequest
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 EconomicCalendarRequest
impl RefUnwindSafe for EconomicCalendarRequest
impl Send for EconomicCalendarRequest
impl Sync for EconomicCalendarRequest
impl Unpin for EconomicCalendarRequest
impl UnwindSafe for EconomicCalendarRequest
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