#[non_exhaustive]pub struct ListItdashboardOptions {Show 16 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 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 extra: BTreeMap<String, String>,
}Expand description
Options for Client::list_itdashboard and Client::iterate_itdashboard.
Filters are tier-gated by the API:
- Free:
search - Pro:
agency_code,type_of_investment,updated_time_after,updated_time_before - Business+:
agency_name,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 (Business+ tier).
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).
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
Trait Implementations§
Source§impl Clone for ListItdashboardOptions
impl Clone for ListItdashboardOptions
Source§fn clone(&self) -> ListItdashboardOptions
fn clone(&self) -> ListItdashboardOptions
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 ListItdashboardOptions
impl Debug for ListItdashboardOptions
Source§impl Default for ListItdashboardOptions
impl Default for ListItdashboardOptions
Source§fn default() -> ListItdashboardOptions
fn default() -> ListItdashboardOptions
Source§impl PartialEq for ListItdashboardOptions
impl PartialEq for ListItdashboardOptions
Source§fn eq(&self, other: &ListItdashboardOptions) -> bool
fn eq(&self, other: &ListItdashboardOptions) -> bool
self and other values to be equal, and is used by ==.