pub struct SymbolFilter {
pub min_market_cap: f64,
pub exchange: Option<String>,
pub include_etf: bool,
pub limit: Option<usize>,
}Expand description
Filters for build_symbol_list — a screened market universe.
Fields§
§min_market_cap: f64Only symbols at/above this company market cap (0.0 = no floor).
exchange: Option<String>Restrict to one or more exchanges (comma-separated FMP codes, e.g.
US_EXCHANGES). None, an empty string, or "all" = every exchange.
include_etf: boolKeep ETFs / funds (default: stocks only).
limit: Option<usize>Cap the number of returned symbols (None = the API default).
Trait Implementations§
Source§impl Default for SymbolFilter
impl Default for SymbolFilter
Source§fn default() -> SymbolFilter
fn default() -> SymbolFilter
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SymbolFilter
impl RefUnwindSafe for SymbolFilter
impl Send for SymbolFilter
impl Sync for SymbolFilter
impl Unpin for SymbolFilter
impl UnsafeUnpin for SymbolFilter
impl UnwindSafe for SymbolFilter
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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