#[non_exhaustive]pub struct AgencyContractsOptions {
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>,
}Expand description
Options for the agency contract sub-resources
(list_agency_awarding_contracts / list_agency_funding_contracts).
Mirrors AgencyContractsOptions in the Node SDK.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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 (mutually exclusive with page).
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 used between flattened keys when flat=true. Defaults to . server-side.
ordering: Option<String>Server-side sort spec (endpoint-specific allowlist; prefix with - for descending).
search: Option<String>Free-text search filter.
Implementations§
Source§impl AgencyContractsOptions
impl AgencyContractsOptions
Sourcepub fn builder() -> AgencyContractsOptionsBuilder
pub fn builder() -> AgencyContractsOptionsBuilder
Create an instance of AgencyContractsOptions using the builder syntax
Trait Implementations§
Source§impl Clone for AgencyContractsOptions
impl Clone for AgencyContractsOptions
Source§fn clone(&self) -> AgencyContractsOptions
fn clone(&self) -> AgencyContractsOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AgencyContractsOptions
impl Debug for AgencyContractsOptions
Source§impl Default for AgencyContractsOptions
impl Default for AgencyContractsOptions
Source§fn default() -> AgencyContractsOptions
fn default() -> AgencyContractsOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for AgencyContractsOptions
impl PartialEq for AgencyContractsOptions
Source§fn eq(&self, other: &AgencyContractsOptions) -> bool
fn eq(&self, other: &AgencyContractsOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AgencyContractsOptions
impl StructuralPartialEq for AgencyContractsOptions
Auto Trait Implementations§
impl Freeze for AgencyContractsOptions
impl RefUnwindSafe for AgencyContractsOptions
impl Send for AgencyContractsOptions
impl Sync for AgencyContractsOptions
impl Unpin for AgencyContractsOptions
impl UnsafeUnpin for AgencyContractsOptions
impl UnwindSafe for AgencyContractsOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more