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