#[non_exhaustive]pub struct ListVehicleAwardeesOptions {
pub page: Option<u32>,
pub limit: Option<u32>,
pub cursor: Option<String>,
pub shape: Option<String>,
pub flat: bool,
pub flat_lists: bool,
}Expand description
Options for Client::list_vehicle_awardees and
Client::iterate_vehicle_awardees. The endpoint only accepts the
shared pagination + shaping fields.
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 (server caps at 100).
cursor: Option<String>Keyset cursor for cursor-paginated endpoints.
shape: Option<String>Comma-separated field selector. Use a SHAPE_*
constant or roll your own.
flat: boolCollapse nested objects into dot-separated keys.
flat_lists: boolWhen flat is also true, flatten list-valued fields.
Implementations§
Source§impl ListVehicleAwardeesOptions
impl ListVehicleAwardeesOptions
Sourcepub fn builder() -> ListVehicleAwardeesOptionsBuilder
pub fn builder() -> ListVehicleAwardeesOptionsBuilder
Create an instance of ListVehicleAwardeesOptions using the builder syntax
Trait Implementations§
Source§impl Clone for ListVehicleAwardeesOptions
impl Clone for ListVehicleAwardeesOptions
Source§fn clone(&self) -> ListVehicleAwardeesOptions
fn clone(&self) -> ListVehicleAwardeesOptions
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 ListVehicleAwardeesOptions
impl Debug for ListVehicleAwardeesOptions
Source§impl Default for ListVehicleAwardeesOptions
impl Default for ListVehicleAwardeesOptions
Source§fn default() -> ListVehicleAwardeesOptions
fn default() -> ListVehicleAwardeesOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for ListVehicleAwardeesOptions
impl PartialEq for ListVehicleAwardeesOptions
Source§fn eq(&self, other: &ListVehicleAwardeesOptions) -> bool
fn eq(&self, other: &ListVehicleAwardeesOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ListVehicleAwardeesOptions
impl StructuralPartialEq for ListVehicleAwardeesOptions
Auto Trait Implementations§
impl Freeze for ListVehicleAwardeesOptions
impl RefUnwindSafe for ListVehicleAwardeesOptions
impl Send for ListVehicleAwardeesOptions
impl Sync for ListVehicleAwardeesOptions
impl Unpin for ListVehicleAwardeesOptions
impl UnsafeUnpin for ListVehicleAwardeesOptions
impl UnwindSafe for ListVehicleAwardeesOptions
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