#[non_exhaustive]pub struct GetExclusionOptions {
pub shape: Option<String>,
pub flat: bool,
pub flat_lists: bool,
}Expand description
Options for Client::get_exclusion.
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. When empty, the server returns its default detail shape.
flat: boolFlatten nested objects into dot-separated keys.
flat_lists: boolWhen flat=true, also flatten list-valued nested fields.
Implementations§
Source§impl GetExclusionOptions
impl GetExclusionOptions
Sourcepub fn builder() -> GetExclusionOptionsBuilder
pub fn builder() -> GetExclusionOptionsBuilder
Create an instance of GetExclusionOptions using the builder syntax
Trait Implementations§
Source§impl Clone for GetExclusionOptions
impl Clone for GetExclusionOptions
Source§impl Debug for GetExclusionOptions
impl Debug for GetExclusionOptions
Source§impl Default for GetExclusionOptions
impl Default for GetExclusionOptions
impl Eq for GetExclusionOptions
Source§impl PartialEq for GetExclusionOptions
impl PartialEq for GetExclusionOptions
impl StructuralPartialEq for GetExclusionOptions
Auto Trait Implementations§
impl Freeze for GetExclusionOptions
impl RefUnwindSafe for GetExclusionOptions
impl Send for GetExclusionOptions
impl Sync for GetExclusionOptions
impl Unpin for GetExclusionOptions
impl UnsafeUnpin for GetExclusionOptions
impl UnwindSafe for GetExclusionOptions
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