#[non_exhaustive]pub struct ListLcatsOptions {
pub uei: Option<String>,
pub idv_key: Option<String>,
pub page: Option<u32>,
pub limit: Option<u32>,
pub cursor: Option<String>,
pub shape: Option<String>,
pub flat: bool,
pub flat_lists: bool,
pub search: Option<String>,
pub ordering: Option<String>,
pub extra: BTreeMap<String, String>,
}Expand description
Options for Client::list_lcats and Client::iterate_lcats.
Exactly one of uei or idv_key must be
set, or the call returns Error::Validation. If both are set,
uei wins (mirrors the Go 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.uei: Option<String>Entity UEI — dispatches to /api/entities/{uei}/lcats/.
idv_key: Option<String>IDV key — dispatches to /api/idvs/{key}/lcats/.
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.
flat: boolCollapse nested objects into dot-separated keys.
flat_lists: boolWhen flat is also true, flatten list-valued fields.
search: Option<String>Free-text search filter (labor category title, description).
ordering: Option<String>Server-side sort spec (prefix - for descending).
extra: BTreeMap<String, String>Escape hatch for filter keys not first-classed here.
Implementations§
Source§impl ListLcatsOptions
impl ListLcatsOptions
Sourcepub fn builder() -> ListLcatsOptionsBuilder
pub fn builder() -> ListLcatsOptionsBuilder
Create an instance of ListLcatsOptions using the builder syntax
Trait Implementations§
Source§impl Clone for ListLcatsOptions
impl Clone for ListLcatsOptions
Source§fn clone(&self) -> ListLcatsOptions
fn clone(&self) -> ListLcatsOptions
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 ListLcatsOptions
impl Debug for ListLcatsOptions
Source§impl Default for ListLcatsOptions
impl Default for ListLcatsOptions
Source§fn default() -> ListLcatsOptions
fn default() -> ListLcatsOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for ListLcatsOptions
impl PartialEq for ListLcatsOptions
Source§fn eq(&self, other: &ListLcatsOptions) -> bool
fn eq(&self, other: &ListLcatsOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ListLcatsOptions
impl StructuralPartialEq for ListLcatsOptions
Auto Trait Implementations§
impl Freeze for ListLcatsOptions
impl RefUnwindSafe for ListLcatsOptions
impl Send for ListLcatsOptions
impl Sync for ListLcatsOptions
impl Unpin for ListLcatsOptions
impl UnsafeUnpin for ListLcatsOptions
impl UnwindSafe for ListLcatsOptions
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