#[non_exhaustive]pub struct CreateRouteOutputBuilder { /* private fields */ }
Expand description
A builder for CreateRouteOutput
.
Implementations§
source§impl CreateRouteOutputBuilder
impl CreateRouteOutputBuilder
sourcepub fn return(self, input: bool) -> Self
pub fn return(self, input: bool) -> Self
Returns true
if the request succeeds; otherwise, it returns an error.
sourcepub fn set_return(self, input: Option<bool>) -> Self
pub fn set_return(self, input: Option<bool>) -> Self
Returns true
if the request succeeds; otherwise, it returns an error.
sourcepub fn get_return(&self) -> &Option<bool>
pub fn get_return(&self) -> &Option<bool>
Returns true
if the request succeeds; otherwise, it returns an error.
sourcepub fn build(self) -> CreateRouteOutput
pub fn build(self) -> CreateRouteOutput
Consumes the builder and constructs a CreateRouteOutput
.
Trait Implementations§
source§impl Clone for CreateRouteOutputBuilder
impl Clone for CreateRouteOutputBuilder
source§fn clone(&self) -> CreateRouteOutputBuilder
fn clone(&self) -> CreateRouteOutputBuilder
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 CreateRouteOutputBuilder
impl Debug for CreateRouteOutputBuilder
source§impl Default for CreateRouteOutputBuilder
impl Default for CreateRouteOutputBuilder
source§fn default() -> CreateRouteOutputBuilder
fn default() -> CreateRouteOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateRouteOutputBuilder
impl PartialEq for CreateRouteOutputBuilder
source§fn eq(&self, other: &CreateRouteOutputBuilder) -> bool
fn eq(&self, other: &CreateRouteOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateRouteOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateRouteOutputBuilder
impl RefUnwindSafe for CreateRouteOutputBuilder
impl Send for CreateRouteOutputBuilder
impl Sync for CreateRouteOutputBuilder
impl Unpin for CreateRouteOutputBuilder
impl UnwindSafe for CreateRouteOutputBuilder
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>
Creates a shared type from an unshared type.