pub struct ConfigurableFieldMultiOption {
pub id: String,
pub options: HashMap<String, Value>,
pub default: Vec<String>,
pub name: Option<String>,
pub description: Option<String>,
pub is_shared: bool,
}Expand description
Field that can be configured by the user with multiple options from a set.
This corresponds to Python’s ConfigurableFieldMultiOption NamedTuple.
Fields§
§id: StringThe unique identifier of the field
options: HashMap<String, Value>The available options for the field
default: Vec<String>The default option keys (multiple can be selected)
name: Option<String>The name of the field
description: Option<String>The description of the field
Whether the field is shared across runnables
Implementations§
Trait Implementations§
Source§impl Clone for ConfigurableFieldMultiOption
impl Clone for ConfigurableFieldMultiOption
Source§fn clone(&self) -> ConfigurableFieldMultiOption
fn clone(&self) -> ConfigurableFieldMultiOption
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 ConfigurableFieldMultiOption
impl Debug for ConfigurableFieldMultiOption
Source§impl<'de> Deserialize<'de> for ConfigurableFieldMultiOption
impl<'de> Deserialize<'de> for ConfigurableFieldMultiOption
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 Hash for ConfigurableFieldMultiOption
impl Hash for ConfigurableFieldMultiOption
Source§impl PartialEq for ConfigurableFieldMultiOption
impl PartialEq for ConfigurableFieldMultiOption
Source§fn eq(&self, other: &ConfigurableFieldMultiOption) -> bool
fn eq(&self, other: &ConfigurableFieldMultiOption) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ConfigurableFieldMultiOption
impl StructuralPartialEq for ConfigurableFieldMultiOption
Auto Trait Implementations§
impl Freeze for ConfigurableFieldMultiOption
impl RefUnwindSafe for ConfigurableFieldMultiOption
impl Send for ConfigurableFieldMultiOption
impl Sync for ConfigurableFieldMultiOption
impl Unpin for ConfigurableFieldMultiOption
impl UnwindSafe for ConfigurableFieldMultiOption
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.