pub struct ParameterSetting {
pub class: Option<String>,
pub constraints: Option<Vec<Constraint>>,
pub depends_on: Option<String>,
pub guidelines: Option<Vec<Guideline>>,
pub label: Option<String>,
pub links: Option<Vec<Link>>,
pub param_id: String,
pub props: Option<Vec<Property>>,
pub select: Option<Selection>,
pub usage: Option<String>,
pub values: Option<Vec<String>>,
}
Expand description
A parameter setting, to be propagated to points of insertion.
Fields§
§class: Option<String>
A textual label that provides a characterization of the parameter.
constraints: Option<Vec<Constraint>>
§depends_on: Option<String>
(deprecated) Another parameter invoking this one. This construct has been deprecated and should not be used.
guidelines: Option<Vec<Guideline>>
§label: Option<String>
A short, placeholder name for the parameter, which can be used as a substitute for a value if no value is assigned.
links: Option<Vec<Link>>
§param_id: String
An identifier for the parameter.
props: Option<Vec<Property>>
§select: Option<Selection>
§usage: Option<String>
Describes the purpose and use of a parameter.
values: Option<Vec<String>>
Trait Implementations§
Source§impl AsMut<ParameterSetting> for ParameterSetting
impl AsMut<ParameterSetting> for ParameterSetting
Source§impl AsRef<ParameterSetting> for ParameterSetting
impl AsRef<ParameterSetting> for ParameterSetting
Source§impl Clone for ParameterSetting
impl Clone for ParameterSetting
Source§fn clone(&self) -> ParameterSetting
fn clone(&self) -> ParameterSetting
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 moreSource§impl Debug for ParameterSetting
impl Debug for ParameterSetting
Source§impl<'de> Deserialize<'de> for ParameterSetting
impl<'de> Deserialize<'de> for ParameterSetting
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ParameterSetting
impl Display for ParameterSetting
Source§impl From<&ParameterSetting> for ParameterSetting
impl From<&ParameterSetting> for ParameterSetting
Source§fn from(value: &ParameterSetting) -> Self
fn from(value: &ParameterSetting) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ParameterSetting
impl PartialEq for ParameterSetting
Auto Trait Implementations§
impl Freeze for ParameterSetting
impl RefUnwindSafe for ParameterSetting
impl Send for ParameterSetting
impl Sync for ParameterSetting
impl Unpin for ParameterSetting
impl UnwindSafe for ParameterSetting
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