#[non_exhaustive]pub struct UsageInstructionBuilder { /* private fields */ }
Expand description
A builder for UsageInstruction
.
Implementations§
source§impl UsageInstructionBuilder
impl UsageInstructionBuilder
sourcepub fn value(self, input: impl Into<String>) -> Self
pub fn value(self, input: impl Into<String>) -> Self
The usage instruction value for this type.
sourcepub fn set_value(self, input: Option<String>) -> Self
pub fn set_value(self, input: Option<String>) -> Self
The usage instruction value for this type.
sourcepub fn build(self) -> UsageInstruction
pub fn build(self) -> UsageInstruction
Consumes the builder and constructs a UsageInstruction
.
Trait Implementations§
source§impl Clone for UsageInstructionBuilder
impl Clone for UsageInstructionBuilder
source§fn clone(&self) -> UsageInstructionBuilder
fn clone(&self) -> UsageInstructionBuilder
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 UsageInstructionBuilder
impl Debug for UsageInstructionBuilder
source§impl Default for UsageInstructionBuilder
impl Default for UsageInstructionBuilder
source§fn default() -> UsageInstructionBuilder
fn default() -> UsageInstructionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UsageInstructionBuilder
impl PartialEq for UsageInstructionBuilder
source§fn eq(&self, other: &UsageInstructionBuilder) -> bool
fn eq(&self, other: &UsageInstructionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UsageInstructionBuilder
Auto Trait Implementations§
impl Freeze for UsageInstructionBuilder
impl RefUnwindSafe for UsageInstructionBuilder
impl Send for UsageInstructionBuilder
impl Sync for UsageInstructionBuilder
impl Unpin for UsageInstructionBuilder
impl UnwindSafe for UsageInstructionBuilder
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.