pub struct AlgoParam {
pub default_value: Option<AlgoParamDefaultValue>,
pub description: Option<String>,
pub gui_rank: Option<i32>,
pub id: Option<String>,
pub legal_strings: Option<Vec<String>>,
pub max_value: Option<i32>,
pub min_value: Option<f64>,
pub name: Option<String>,
pub required: Option<bool>,
pub value_class_name: Option<AlgoParamValueClassName>,
}Fields§
§default_value: Option<AlgoParamDefaultValue>Default parameter value. Type defined in valueClassName field
description: Option<String>§gui_rank: Option<i32>Positional ranking for the algo. Used for Client Portal.
id: Option<String>Parameter identifier for the algo.
legal_strings: Option<Vec<String>>Allowed values for the parameter.
max_value: Option<i32>§min_value: Option<f64>§name: Option<String>Parameter name.
required: Option<bool>States whether the parameter is required for the given algo order to place.
value_class_name: Option<AlgoParamValueClassName>Returns the variable type of the parameter.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AlgoParam
impl<'de> Deserialize<'de> for AlgoParam
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
impl StructuralPartialEq for AlgoParam
Auto Trait Implementations§
impl Freeze for AlgoParam
impl RefUnwindSafe for AlgoParam
impl Send for AlgoParam
impl Sync for AlgoParam
impl Unpin for AlgoParam
impl UnsafeUnpin for AlgoParam
impl UnwindSafe for AlgoParam
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