#[non_exhaustive]pub struct ParameterSelectableValues {
pub values: Option<Vec<String>>,
pub link_to_data_set_column: Option<ColumnIdentifier>,
}Expand description
A list of selectable values that are used in a control.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.values: Option<Vec<String>>The values that are used in ParameterSelectableValues.
link_to_data_set_column: Option<ColumnIdentifier>The column identifier that fetches values from the data set.
Implementations§
source§impl ParameterSelectableValues
impl ParameterSelectableValues
sourcepub fn values(&self) -> &[String]
pub fn values(&self) -> &[String]
The values that are used in ParameterSelectableValues.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .values.is_none().
sourcepub fn link_to_data_set_column(&self) -> Option<&ColumnIdentifier>
pub fn link_to_data_set_column(&self) -> Option<&ColumnIdentifier>
The column identifier that fetches values from the data set.
source§impl ParameterSelectableValues
impl ParameterSelectableValues
sourcepub fn builder() -> ParameterSelectableValuesBuilder
pub fn builder() -> ParameterSelectableValuesBuilder
Creates a new builder-style object to manufacture ParameterSelectableValues.
Trait Implementations§
source§impl Clone for ParameterSelectableValues
impl Clone for ParameterSelectableValues
source§fn clone(&self) -> ParameterSelectableValues
fn clone(&self) -> ParameterSelectableValues
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 ParameterSelectableValues
impl Debug for ParameterSelectableValues
source§impl PartialEq for ParameterSelectableValues
impl PartialEq for ParameterSelectableValues
source§fn eq(&self, other: &ParameterSelectableValues) -> bool
fn eq(&self, other: &ParameterSelectableValues) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ParameterSelectableValues
Auto Trait Implementations§
impl Freeze for ParameterSelectableValues
impl RefUnwindSafe for ParameterSelectableValues
impl Send for ParameterSelectableValues
impl Sync for ParameterSelectableValues
impl Unpin for ParameterSelectableValues
impl UnwindSafe for ParameterSelectableValues
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.