#[non_exhaustive]pub struct ListItdashboardOptions {Show 18 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 search: Option<String>,
pub agency_code: Option<String>,
pub agency_name: Option<String>,
pub agency: Option<String>,
pub type_of_investment: Option<String>,
pub updated_time_after: Option<String>,
pub updated_time_before: Option<String>,
pub cio_rating: Option<String>,
pub cio_rating_max: Option<String>,
pub performance_risk: Option<String>,
pub previous_uii: Option<String>,
pub extra: BTreeMap<String, String>,
}Expand description
Options for Client::list_itdashboard and Client::iterate_itdashboard.
Filters are tier-gated by the API:
- Free:
search,agency_name,agencyandprevious_uii - Pro:
agency_code,type_of_investment,updated_time_after,updated_time_before - Business+:
cio_rating,cio_rating_max,performance_risk
Hitting a gated filter on a lower tier returns a 403. CIO ratings: 1=High Risk, 2=Moderately High, 3=Medium, 4=Moderately Low, 5=Low.
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_ITDASHBOARD_INVESTMENTS_MINIMAL
or roll your own.
flat: boolCollapse nested objects into dot-separated keys.
flat_lists: boolWhen flat is also true, flatten list-valued fields.
search: Option<String>Free-text search (Free tier).
agency_code: Option<String>Agency code filter (Pro tier).
agency_name: Option<String>Agency name filter: a partial text match on agency_name (Free tier).
agency: Option<String>A Tango agency name, abbreviation, code or organization key (e.g. DOT), matched against the investment’s resolved organization (Free tier). Matches by name, abbreviation, or code (CGAC, FPDS, Federal Hierarchy key or AAC) and includes every sub-agency and office beneath it; OR several with |. A token that does not resolve falls back to a partial match on agency_name.
type_of_investment: Option<String>Investment type filter (Pro tier).
updated_time_after: Option<String>Lower bound on updated_time (Pro tier, ISO 8601).
updated_time_before: Option<String>Upper bound on updated_time (Pro tier, ISO 8601).
cio_rating: Option<String>CIO rating filter (Business+ tier). Stringly typed to disambiguate “unset” from numeric zero (the API accepts both numeric and stringified integer values).
cio_rating_max: Option<String>Upper bound on CIO rating (Business+ tier).
performance_risk: Option<String>Performance-risk filter (Business+ tier).
previous_uii: Option<String>Find the investment(s) that superseded a retired UII (e.g. 015-000000100).
extra: BTreeMap<String, String>Escape hatch for filter keys not yet first-classed on this struct.
Implementations§
Source§impl ListItdashboardOptions
impl ListItdashboardOptions
Sourcepub fn builder() -> ListItdashboardOptionsBuilder
pub fn builder() -> ListItdashboardOptionsBuilder
Create an instance of ListItdashboardOptions using the builder syntax