#[non_exhaustive]pub struct ListSledForecastsOptions {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 state: Option<String>,
pub agency: Option<String>,
pub procurement_category: Option<String>,
pub procurement_method: Option<String>,
pub contract_number: Option<String>,
pub incumbent_name: Option<String>,
pub advertisement_after: Option<String>,
pub advertisement_before: Option<String>,
pub first_seen_after: Option<String>,
pub first_seen_before: Option<String>,
pub modified_after: Option<String>,
pub modified_before: Option<String>,
pub search: Option<String>,
pub ordering: Option<String>,
pub extra: BTreeMap<String, String>,
}Expand description
Options for Client::list_sled_forecasts and
Client::iterate_sled_forecasts.
Forecasts carry no liveness at all — there is no deadline to have passed, so
there is no status field, no active field, and no open-only default.
Currency is the caller’s call from estimated_advertisement_date, which is
the START of the published quarter rather than a posting date.
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 (server caps at 100).
cursor: Option<String>Keyset cursor.
shape: Option<String>Comma-separated field selector. Use
SHAPE_SLED_FORECASTS_MINIMAL
or roll your own.
flat: boolCollapse nested objects into dot-separated keys.
flat_lists: boolWhen flat is also true, flatten list-valued fields.
state: Option<String>Two-letter state code. Multi-value: use |.
agency: Option<String>Substring match on the buyer’s published text (min 2 characters).
procurement_category: Option<String>The portal’s own category word, passed through verbatim.
procurement_method: Option<String>The portal’s own method word, passed through verbatim.
contract_number: Option<String>The number the state expects to award under, where it publishes one in advance.
incumbent_name: Option<String>Substring match on the incumbent vendor’s name as published. NOT resolved to a Tango entity.
advertisement_after: Option<String>Lower bound on the estimated advertisement date (inclusive). Remember the date is a QUARTER START, not a posting date.
advertisement_before: Option<String>Upper bound on the estimated advertisement date (inclusive).
first_seen_after: Option<String>Lower bound on when Tango first observed the forecast (inclusive).
first_seen_before: Option<String>Upper bound on first observation (inclusive).
modified_after: Option<String>Lower bound on when the Tango row last changed (inclusive).
modified_before: Option<String>Upper bound on when the Tango row last changed (inclusive).
search: Option<String>Ranked full-text search over title, agency and description (min 2 characters).
ordering: Option<String>One of rank, estimated_advertisement_date, first_seen_at,
last_seen_at, modified. rank requires a non-empty
search.
extra: BTreeMap<String, String>Escape hatch for filter keys not yet first-classed on this struct.
Implementations§
Source§impl ListSledForecastsOptions
impl ListSledForecastsOptions
Sourcepub fn builder() -> ListSledForecastsOptionsBuilder
pub fn builder() -> ListSledForecastsOptionsBuilder
Create an instance of ListSledForecastsOptions using the builder syntax