#[non_exhaustive]pub struct ListForecastsOptions {Show 21 fields
pub page: Option<u32>,
pub limit: Option<u32>,
pub cursor: Option<String>,
pub shape: Option<String>,
pub flat: bool,
pub flat_lists: bool,
pub agency: Option<String>,
pub award_date_after: Option<String>,
pub award_date_before: Option<String>,
pub fiscal_year: Option<String>,
pub fiscal_year_gte: Option<String>,
pub fiscal_year_lte: Option<String>,
pub modified_after: Option<String>,
pub modified_before: Option<String>,
pub naics_code: Option<String>,
pub naics_starts_with: Option<String>,
pub ordering: Option<String>,
pub search: Option<String>,
pub source_system: Option<String>,
pub status: Option<String>,
pub extra: BTreeMap<String, String>,
}Expand description
Options for Client::list_forecasts and Client::iterate_forecasts.
Mirrors ListForecastsOptions in the Go SDK.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.page: Option<u32>1-based page number.
limit: Option<u32>Page size.
cursor: Option<String>Keyset cursor.
shape: Option<String>Comma-separated field selector.
flat: boolCollapse nested objects into dot-separated keys.
flat_lists: boolWhen flat is also true, flatten list-valued fields.
agency: Option<String>Awarding agency CGAC code.
award_date_after: Option<String>Lower bound for award date.
award_date_before: Option<String>Upper bound for award date.
fiscal_year: Option<String>fiscal_year filter.
fiscal_year_gte: Option<String>Lower bound for fiscal_year.
fiscal_year_lte: Option<String>Upper bound for fiscal_year.
modified_after: Option<String>Lower bound for last-modified timestamp.
modified_before: Option<String>Upper bound for last-modified timestamp.
naics_code: Option<String>NAICS code filter (exact).
naics_starts_with: Option<String>NAICS prefix filter.
ordering: Option<String>Server-side sort spec.
search: Option<String>Free-text search filter.
source_system: Option<String>Source-system filter (e.g. "SAM").
status: Option<String>Status filter (e.g. "active").
extra: BTreeMap<String, String>Escape hatch for filter keys not yet first-classed on this struct.
Implementations§
Source§impl ListForecastsOptions
impl ListForecastsOptions
Sourcepub fn builder() -> ListForecastsOptionsBuilder
pub fn builder() -> ListForecastsOptionsBuilder
Create an instance of ListForecastsOptions using the builder syntax
Trait Implementations§
Source§impl Clone for ListForecastsOptions
impl Clone for ListForecastsOptions
Source§fn clone(&self) -> ListForecastsOptions
fn clone(&self) -> ListForecastsOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ListForecastsOptions
impl Debug for ListForecastsOptions
Source§impl Default for ListForecastsOptions
impl Default for ListForecastsOptions
Source§fn default() -> ListForecastsOptions
fn default() -> ListForecastsOptions
Source§impl PartialEq for ListForecastsOptions
impl PartialEq for ListForecastsOptions
Source§fn eq(&self, other: &ListForecastsOptions) -> bool
fn eq(&self, other: &ListForecastsOptions) -> bool
self and other values to be equal, and is used by ==.