#[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 for ReadPresetOutputBuilder
impl PartialEq 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 Freeze for ReadPresetOutputBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.