pub struct ParameterSettingBuilder { /* private fields */ }
Expand description
Builder for ParameterSetting
.
Implementations§
Source§impl ParameterSettingBuilder
impl ParameterSettingBuilder
Sourcepub fn class<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn class<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
A textual label that provides a characterization of the parameter.
pub fn constraints<VALUE: Into<Vec<Constraint>>>( &mut self, value: VALUE, ) -> &mut Self
Sourcepub fn depends_on<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn depends_on<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
(deprecated) Another parameter invoking this one. This construct has been deprecated and should not be used.
pub fn guidelines<VALUE: Into<Vec<Guideline>>>( &mut self, value: VALUE, ) -> &mut Self
Sourcepub fn label<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn label<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
A short, placeholder name for the parameter, which can be used as a substitute for a value if no value is assigned.
pub fn links<VALUE: Into<Vec<Link>>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn param_id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn param_id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
An identifier for the parameter.
pub fn props<VALUE: Into<Vec<Property>>>(&mut self, value: VALUE) -> &mut Self
pub fn select<VALUE: Into<Selection>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn usage<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn usage<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Describes the purpose and use of a parameter.
pub fn values<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn build(&self) -> Result<ParameterSetting, ParameterSettingBuilderError>
pub fn build(&self) -> Result<ParameterSetting, ParameterSettingBuilderError>
Trait Implementations§
Source§impl Clone for ParameterSettingBuilder
impl Clone for ParameterSettingBuilder
Source§fn clone(&self) -> ParameterSettingBuilder
fn clone(&self) -> ParameterSettingBuilder
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ParameterSettingBuilder
impl RefUnwindSafe for ParameterSettingBuilder
impl Send for ParameterSettingBuilder
impl Sync for ParameterSettingBuilder
impl Unpin for ParameterSettingBuilder
impl UnwindSafe for ParameterSettingBuilder
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