#[non_exhaustive]pub struct ListGsaElibraryContractsOptions {Show 15 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 schedule: Option<String>,
pub contract_number: Option<String>,
pub key: Option<String>,
pub piid: Option<String>,
pub uei: Option<String>,
pub sin: Option<String>,
pub search: Option<String>,
pub ordering: Option<String>,
pub extra: BTreeMap<String, String>,
}Expand description
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.
shape: Option<String>Comma-separated field selector. Use
SHAPE_GSA_ELIBRARY_CONTRACTS_MINIMAL
or roll your own.
flat: boolCollapse nested objects into dot-separated keys.
flat_lists: boolWhen flat is also true, flatten list-valued fields.
schedule: Option<String>GSA schedule filter (e.g. "MAS").
contract_number: Option<String>Contract-number filter.
key: Option<String>Internal Tango key filter.
piid: Option<String>Procurement Instrument Identifier filter.
uei: Option<String>Recipient UEI filter.
sin: Option<String>Special Item Number filter.
search: Option<String>Free-text search filter.
ordering: Option<String>Server-side sort spec (prefix - for descending).
extra: BTreeMap<String, String>Escape hatch for filter keys not yet first-classed on this struct.
Implementations§
Source§impl ListGsaElibraryContractsOptions
impl ListGsaElibraryContractsOptions
Sourcepub fn builder() -> ListGsaElibraryContractsOptionsBuilder
pub fn builder() -> ListGsaElibraryContractsOptionsBuilder
Create an instance of ListGsaElibraryContractsOptions using the builder syntax
Trait Implementations§
Source§impl Clone for ListGsaElibraryContractsOptions
impl Clone for ListGsaElibraryContractsOptions
Source§fn clone(&self) -> ListGsaElibraryContractsOptions
fn clone(&self) -> ListGsaElibraryContractsOptions
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 Default for ListGsaElibraryContractsOptions
impl Default for ListGsaElibraryContractsOptions
Source§fn default() -> ListGsaElibraryContractsOptions
fn default() -> ListGsaElibraryContractsOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for ListGsaElibraryContractsOptions
impl PartialEq for ListGsaElibraryContractsOptions
Source§fn eq(&self, other: &ListGsaElibraryContractsOptions) -> bool
fn eq(&self, other: &ListGsaElibraryContractsOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ListGsaElibraryContractsOptions
impl StructuralPartialEq for ListGsaElibraryContractsOptions
Auto Trait Implementations§
impl Freeze for ListGsaElibraryContractsOptions
impl RefUnwindSafe for ListGsaElibraryContractsOptions
impl Send for ListGsaElibraryContractsOptions
impl Sync for ListGsaElibraryContractsOptions
impl Unpin for ListGsaElibraryContractsOptions
impl UnsafeUnpin for ListGsaElibraryContractsOptions
impl UnwindSafe for ListGsaElibraryContractsOptions
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