#[non_exhaustive]pub struct GetAgencyOptions {
pub shape: Option<String>,
pub flat: bool,
pub flat_lists: bool,
}Expand description
Per-agency get options.
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.shape: Option<String>Shape selector.
flat: boolFlatten nested objects into dot-separated keys.
flat_lists: boolWhen flat=true, also flatten list-valued nested fields.
Implementations§
Source§impl GetAgencyOptions
impl GetAgencyOptions
Sourcepub fn builder() -> GetAgencyOptionsBuilder
pub fn builder() -> GetAgencyOptionsBuilder
Create an instance of GetAgencyOptions using the builder syntax
Trait Implementations§
Source§impl Clone for GetAgencyOptions
impl Clone for GetAgencyOptions
Source§fn clone(&self) -> GetAgencyOptions
fn clone(&self) -> GetAgencyOptions
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 GetAgencyOptions
impl Debug for GetAgencyOptions
Source§impl Default for GetAgencyOptions
impl Default for GetAgencyOptions
Source§fn default() -> GetAgencyOptions
fn default() -> GetAgencyOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for GetAgencyOptions
impl PartialEq for GetAgencyOptions
Source§fn eq(&self, other: &GetAgencyOptions) -> bool
fn eq(&self, other: &GetAgencyOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for GetAgencyOptions
impl StructuralPartialEq for GetAgencyOptions
Auto Trait Implementations§
impl Freeze for GetAgencyOptions
impl RefUnwindSafe for GetAgencyOptions
impl Send for GetAgencyOptions
impl Sync for GetAgencyOptions
impl Unpin for GetAgencyOptions
impl UnsafeUnpin for GetAgencyOptions
impl UnwindSafe for GetAgencyOptions
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