pub struct EconomicCalendarRequest<'a> { /* private fields */ }Expand description
Query parameters for GET /api/v5/public/economic-calendar.
Implementations§
Source§impl<'a> EconomicCalendarRequest<'a>
impl<'a> EconomicCalendarRequest<'a>
Sourcepub fn region(self, value: impl Into<Cow<'a, str>>) -> Self
pub fn region(self, value: impl Into<Cow<'a, str>>) -> Self
Restrict results to one country, region, or entity, e.g. united_states.
Sourcepub fn importance(self, value: impl Into<Cow<'a, str>>) -> Self
pub fn importance(self, value: impl Into<Cow<'a, str>>) -> Self
Restrict results to one importance level (1 low, 2 medium, 3 high).
Sourcepub fn before(self, value: impl Into<Cow<'a, str>>) -> Self
pub fn before(self, value: impl Into<Cow<'a, str>>) -> Self
Return records newer than this date timestamp (Unix milliseconds).
Trait Implementations§
Source§impl<'a> Clone for EconomicCalendarRequest<'a>
impl<'a> Clone for EconomicCalendarRequest<'a>
Source§fn clone(&self) -> EconomicCalendarRequest<'a>
fn clone(&self) -> EconomicCalendarRequest<'a>
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<'a> Debug for EconomicCalendarRequest<'a>
impl<'a> Debug for EconomicCalendarRequest<'a>
Source§impl<'a> Default for EconomicCalendarRequest<'a>
impl<'a> Default for EconomicCalendarRequest<'a>
Source§fn default() -> EconomicCalendarRequest<'a>
fn default() -> EconomicCalendarRequest<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for EconomicCalendarRequest<'a>
impl<'a> RefUnwindSafe for EconomicCalendarRequest<'a>
impl<'a> Send for EconomicCalendarRequest<'a>
impl<'a> Sync for EconomicCalendarRequest<'a>
impl<'a> Unpin for EconomicCalendarRequest<'a>
impl<'a> UnsafeUnpin for EconomicCalendarRequest<'a>
impl<'a> UnwindSafe for EconomicCalendarRequest<'a>
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