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