#[non_exhaustive]pub struct IdvSubresourceOptions {
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 IDV sub-resource list endpoint
(/api/idvs/{key}/awards/, /child-idvs/, /transactions/,
/lcats/).
Carries pagination + shape + ordering + search + joiner. Use the extra
field to forward filters not yet first-classed on this struct.
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. 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 (prefix - for descending).
search: Option<String>Free-text search filter.
extra: BTreeMap<String, String>Escape hatch for filter keys not yet first-classed.
Implementations§
Source§impl IdvSubresourceOptions
impl IdvSubresourceOptions
Sourcepub fn builder() -> IdvSubresourceOptionsBuilder
pub fn builder() -> IdvSubresourceOptionsBuilder
Create an instance of IdvSubresourceOptions using the builder syntax
Trait Implementations§
Source§impl Clone for IdvSubresourceOptions
impl Clone for IdvSubresourceOptions
Source§impl Debug for IdvSubresourceOptions
impl Debug for IdvSubresourceOptions
Source§impl Default for IdvSubresourceOptions
impl Default for IdvSubresourceOptions
impl Eq for IdvSubresourceOptions
Source§impl PartialEq for IdvSubresourceOptions
impl PartialEq for IdvSubresourceOptions
impl StructuralPartialEq for IdvSubresourceOptions
Auto Trait Implementations§
impl Freeze for IdvSubresourceOptions
impl RefUnwindSafe for IdvSubresourceOptions
impl Send for IdvSubresourceOptions
impl Sync for IdvSubresourceOptions
impl Unpin for IdvSubresourceOptions
impl UnsafeUnpin for IdvSubresourceOptions
impl UnwindSafe for IdvSubresourceOptions
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