#[non_exhaustive]pub struct RouteAnalysisPathBuilder { /* private fields */ }
Expand description
A builder for RouteAnalysisPath
.
Implementations§
source§impl RouteAnalysisPathBuilder
impl RouteAnalysisPathBuilder
sourcepub fn completion_status(self, input: RouteAnalysisCompletion) -> Self
pub fn completion_status(self, input: RouteAnalysisCompletion) -> Self
The status of the analysis at completion.
sourcepub fn set_completion_status(
self,
input: Option<RouteAnalysisCompletion>
) -> Self
pub fn set_completion_status( self, input: Option<RouteAnalysisCompletion> ) -> Self
The status of the analysis at completion.
sourcepub fn get_completion_status(&self) -> &Option<RouteAnalysisCompletion>
pub fn get_completion_status(&self) -> &Option<RouteAnalysisCompletion>
The status of the analysis at completion.
sourcepub fn path(self, input: PathComponent) -> Self
pub fn path(self, input: PathComponent) -> Self
Appends an item to path
.
To override the contents of this collection use set_path
.
The route analysis path.
sourcepub fn set_path(self, input: Option<Vec<PathComponent>>) -> Self
pub fn set_path(self, input: Option<Vec<PathComponent>>) -> Self
The route analysis path.
sourcepub fn get_path(&self) -> &Option<Vec<PathComponent>>
pub fn get_path(&self) -> &Option<Vec<PathComponent>>
The route analysis path.
sourcepub fn build(self) -> RouteAnalysisPath
pub fn build(self) -> RouteAnalysisPath
Consumes the builder and constructs a RouteAnalysisPath
.
Trait Implementations§
source§impl Clone for RouteAnalysisPathBuilder
impl Clone for RouteAnalysisPathBuilder
source§fn clone(&self) -> RouteAnalysisPathBuilder
fn clone(&self) -> RouteAnalysisPathBuilder
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 RouteAnalysisPathBuilder
impl Debug for RouteAnalysisPathBuilder
source§impl Default for RouteAnalysisPathBuilder
impl Default for RouteAnalysisPathBuilder
source§fn default() -> RouteAnalysisPathBuilder
fn default() -> RouteAnalysisPathBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for RouteAnalysisPathBuilder
impl PartialEq for RouteAnalysisPathBuilder
source§fn eq(&self, other: &RouteAnalysisPathBuilder) -> bool
fn eq(&self, other: &RouteAnalysisPathBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RouteAnalysisPathBuilder
Auto Trait Implementations§
impl Freeze for RouteAnalysisPathBuilder
impl RefUnwindSafe for RouteAnalysisPathBuilder
impl Send for RouteAnalysisPathBuilder
impl Sync for RouteAnalysisPathBuilder
impl Unpin for RouteAnalysisPathBuilder
impl UnwindSafe for RouteAnalysisPathBuilder
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.