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