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