#[non_exhaustive]pub struct ReadPresetOutputBuilder { /* private fields */ }
Expand description
A builder for ReadPresetOutput
.
Implementations§
source§impl ReadPresetOutputBuilder
impl ReadPresetOutputBuilder
sourcepub fn preset(self, input: Preset) -> Self
pub fn preset(self, input: Preset) -> Self
A section of the response body that provides information about the preset.
sourcepub fn set_preset(self, input: Option<Preset>) -> Self
pub fn set_preset(self, input: Option<Preset>) -> Self
A section of the response body that provides information about the preset.
sourcepub fn get_preset(&self) -> &Option<Preset>
pub fn get_preset(&self) -> &Option<Preset>
A section of the response body that provides information about the preset.
sourcepub fn build(self) -> ReadPresetOutput
pub fn build(self) -> ReadPresetOutput
Consumes the builder and constructs a ReadPresetOutput
.
Trait Implementations§
source§impl Clone for ReadPresetOutputBuilder
impl Clone for ReadPresetOutputBuilder
source§fn clone(&self) -> ReadPresetOutputBuilder
fn clone(&self) -> ReadPresetOutputBuilder
Returns a copy of the value. Read more
1.0.0 · 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 ReadPresetOutputBuilder
impl Debug for ReadPresetOutputBuilder
source§impl Default for ReadPresetOutputBuilder
impl Default for ReadPresetOutputBuilder
source§fn default() -> ReadPresetOutputBuilder
fn default() -> ReadPresetOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ReadPresetOutputBuilder> for ReadPresetOutputBuilder
impl PartialEq<ReadPresetOutputBuilder> for ReadPresetOutputBuilder
source§fn eq(&self, other: &ReadPresetOutputBuilder) -> bool
fn eq(&self, other: &ReadPresetOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReadPresetOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ReadPresetOutputBuilder
impl Send for ReadPresetOutputBuilder
impl Sync for ReadPresetOutputBuilder
impl Unpin for ReadPresetOutputBuilder
impl UnwindSafe for ReadPresetOutputBuilder
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