#[non_exhaustive]pub struct ComponentParameterBuilder { /* private fields */ }
Expand description
A builder for ComponentParameter
.
Implementations§
source§impl ComponentParameterBuilder
impl ComponentParameterBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the component parameter to set.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the component parameter to set.
sourcepub fn value(self, input: impl Into<String>) -> Self
pub fn value(self, input: impl Into<String>) -> Self
Appends an item to value
.
To override the contents of this collection use set_value
.
Sets the value for the named component parameter.
sourcepub fn set_value(self, input: Option<Vec<String>>) -> Self
pub fn set_value(self, input: Option<Vec<String>>) -> Self
Sets the value for the named component parameter.
sourcepub fn build(self) -> ComponentParameter
pub fn build(self) -> ComponentParameter
Consumes the builder and constructs a ComponentParameter
.
Trait Implementations§
source§impl Clone for ComponentParameterBuilder
impl Clone for ComponentParameterBuilder
source§fn clone(&self) -> ComponentParameterBuilder
fn clone(&self) -> ComponentParameterBuilder
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 ComponentParameterBuilder
impl Debug for ComponentParameterBuilder
source§impl Default for ComponentParameterBuilder
impl Default for ComponentParameterBuilder
source§fn default() -> ComponentParameterBuilder
fn default() -> ComponentParameterBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ComponentParameterBuilder> for ComponentParameterBuilder
impl PartialEq<ComponentParameterBuilder> for ComponentParameterBuilder
source§fn eq(&self, other: &ComponentParameterBuilder) -> bool
fn eq(&self, other: &ComponentParameterBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.