#[non_exhaustive]pub struct EntitySubresourceOptions {
pub page: Option<u32>,
pub limit: Option<u32>,
pub cursor: Option<String>,
pub shape: Option<String>,
pub flat: bool,
pub flat_lists: bool,
pub joiner: Option<String>,
pub ordering: Option<String>,
pub search: Option<String>,
pub extra: BTreeMap<String, String>,
}Expand description
Options shared by every entity sub-resource list endpoint
(/api/entities/{uei}/contracts/, /idvs/, /otas/, /otidvs/,
/subawards/, /lcats/).
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. Mutually exclusive with cursor.
limit: Option<u32>Page size.
cursor: Option<String>Keyset cursor for cursor-paginated endpoints.
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.
joiner: Option<String>Joiner for flattened keys (only sent when flat=true).
ordering: Option<String>Server-side sort spec. Endpoint-specific allowlist; prefix - for
descending. The subawards endpoint enforces a stricter allowlist than
most — pass values verbatim and let the server validate.
search: Option<String>Free-text search filter where supported by the endpoint.
extra: BTreeMap<String, String>Escape hatch for filter keys not yet first-classed.
Implementations§
Source§impl EntitySubresourceOptions
impl EntitySubresourceOptions
Sourcepub fn builder() -> EntitySubresourceOptionsBuilder
pub fn builder() -> EntitySubresourceOptionsBuilder
Create an instance of EntitySubresourceOptions using the builder syntax
Trait Implementations§
Source§impl Clone for EntitySubresourceOptions
impl Clone for EntitySubresourceOptions
Source§fn clone(&self) -> EntitySubresourceOptions
fn clone(&self) -> EntitySubresourceOptions
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 EntitySubresourceOptions
impl Debug for EntitySubresourceOptions
Source§impl Default for EntitySubresourceOptions
impl Default for EntitySubresourceOptions
Source§fn default() -> EntitySubresourceOptions
fn default() -> EntitySubresourceOptions
Source§impl PartialEq for EntitySubresourceOptions
impl PartialEq for EntitySubresourceOptions
Source§fn eq(&self, other: &EntitySubresourceOptions) -> bool
fn eq(&self, other: &EntitySubresourceOptions) -> bool
self and other values to be equal, and is used by ==.