pub struct FinanceScheduleArgs {
pub kind: String,
pub date: Option<String>,
pub from: Option<String>,
pub to: Option<String>,
pub ticker: Vec<String>,
pub major: bool,
pub min_cap: Option<String>,
pub time: Option<String>,
pub macro_profile: String,
pub format: String,
pub out: Option<PathBuf>,
}Fields§
§kind: StringSchedule kind: earnings | macro | all.
date: Option<String>Single date (YYYY-MM-DD). If set, overrides –from/–to.
from: Option<String>Start date (YYYY-MM-DD).
to: Option<String>End date (YYYY-MM-DD).
ticker: Vec<String>Optional ticker filter for earnings rows (repeatable or comma-separated).
major: boolMacro-only: keep only major US releases (CPI, PCE, GDP, jobs, FOMC, claims).
min_cap: Option<String>Minimum market cap for earnings (e.g. 10B, 500M, 1T).
time: Option<String>Filter earnings by report time: pre-market | after-hours.
macro_profile: StringMacro filtering profile: broad | market | major.
format: StringOutput format (json only).
out: Option<PathBuf>Write full JSON output to a file instead of stdout.
Trait Implementations§
Source§impl Args for FinanceScheduleArgs
impl Args for FinanceScheduleArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Debug for FinanceScheduleArgs
impl Debug for FinanceScheduleArgs
Source§impl FromArgMatches for FinanceScheduleArgs
impl FromArgMatches for FinanceScheduleArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for FinanceScheduleArgs
impl RefUnwindSafe for FinanceScheduleArgs
impl Send for FinanceScheduleArgs
impl Sync for FinanceScheduleArgs
impl Unpin for FinanceScheduleArgs
impl UnsafeUnpin for FinanceScheduleArgs
impl UnwindSafe for FinanceScheduleArgs
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more