#[non_exhaustive]pub struct ListDibbsRfqsOptions {Show 24 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 open: Option<bool>,
pub nsn: Option<String>,
pub fsc: Option<String>,
pub part_number: Option<String>,
pub solicitation: Option<String>,
pub purchase_request: Option<String>,
pub set_aside: Option<String>,
pub status_code: Option<String>,
pub organization: Option<String>,
pub quantity_min: Option<String>,
pub quantity_max: Option<String>,
pub return_by_date_after: Option<String>,
pub return_by_date_before: Option<String>,
pub issue_date_after: Option<String>,
pub issue_date_before: Option<String>,
pub search: Option<String>,
pub ordering: Option<String>,
pub extra: BTreeMap<String, String>,
}Expand description
Options for Client::list_dibbs_rfqs and Client::iterate_dibbs_rfqs.
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_DIBBS_RFQS_MINIMAL or roll your own.
flat: boolCollapse nested objects into dot-separated keys.
flat_lists: boolWhen flat is also true, flatten list-valued fields.
open: Option<bool>Whether the RFQ is still accepting quotes as of today (its return_by_date has not passed). Derived at query time; there is no stored flag. Some(false) reaches the server as a filter value.
nsn: Option<String>National Stock Number. Supports OR via |.
fsc: Option<String>Federal Supply Class: the first four digits of the NSN (e.g. 6515). Each value must be exactly four digits; supports OR via |. Any other value is rejected with a 400.
part_number: Option<String>Manufacturer part number. Supports OR via |.
solicitation: Option<String>DLA solicitation number (e.g. SPE1C126Q0337).
purchase_request: Option<String>Purchase request number. Supports OR via |.
set_aside: Option<String>Set-aside flag (Y or N).
status_code: Option<String>DIBBS status code. Supports OR via |.
organization: Option<String>The resolved organization’s federal hierarchy key.
quantity_min: Option<String>Quantity greater than or equal to.
quantity_max: Option<String>Quantity less than or equal to.
return_by_date_after: Option<String>Return-by date on or after (YYYY-MM-DD).
return_by_date_before: Option<String>Return-by date on or before (YYYY-MM-DD).
issue_date_after: Option<String>Issue date on or after (YYYY-MM-DD).
issue_date_before: Option<String>Issue date on or before (YYYY-MM-DD).
search: Option<String>Full-text search across nomenclature, NSN, part number, and solicitation number.
ordering: Option<String>One of issue_date, return_by_date, quantity, modified, each optionally - prefixed.
extra: BTreeMap<String, String>Escape hatch for filter keys not yet first-classed on this struct.
Implementations§
Source§impl ListDibbsRfqsOptions
impl ListDibbsRfqsOptions
Sourcepub fn builder() -> ListDibbsRfqsOptionsBuilder
pub fn builder() -> ListDibbsRfqsOptionsBuilder
Create an instance of ListDibbsRfqsOptions using the builder syntax