#[non_exhaustive]pub struct CreateRouteOutputBuilder { /* private fields */ }
Expand description
A builder for CreateRouteOutput
.
Implementations§
source§impl CreateRouteOutputBuilder
impl CreateRouteOutputBuilder
sourcepub fn route(self, input: RouteData) -> Self
pub fn route(self, input: RouteData) -> Self
The full description of your mesh following the create call.
This field is required.sourcepub fn set_route(self, input: Option<RouteData>) -> Self
pub fn set_route(self, input: Option<RouteData>) -> Self
The full description of your mesh following the create call.
sourcepub fn get_route(&self) -> &Option<RouteData>
pub fn get_route(&self) -> &Option<RouteData>
The full description of your mesh following the create call.
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>
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.