#[non_exhaustive]pub struct ParameterDropDownControlBuilder { /* private fields */ }
Expand description
A builder for ParameterDropDownControl
.
Implementations§
source§impl ParameterDropDownControlBuilder
impl ParameterDropDownControlBuilder
sourcepub fn parameter_control_id(self, input: impl Into<String>) -> Self
pub fn parameter_control_id(self, input: impl Into<String>) -> Self
The ID of the ParameterDropDownControl
.
sourcepub fn set_parameter_control_id(self, input: Option<String>) -> Self
pub fn set_parameter_control_id(self, input: Option<String>) -> Self
The ID of the ParameterDropDownControl
.
sourcepub fn get_parameter_control_id(&self) -> &Option<String>
pub fn get_parameter_control_id(&self) -> &Option<String>
The ID of the ParameterDropDownControl
.
sourcepub fn title(self, input: impl Into<String>) -> Self
pub fn title(self, input: impl Into<String>) -> Self
The title of the ParameterDropDownControl
.
sourcepub fn set_title(self, input: Option<String>) -> Self
pub fn set_title(self, input: Option<String>) -> Self
The title of the ParameterDropDownControl
.
sourcepub fn source_parameter_name(self, input: impl Into<String>) -> Self
pub fn source_parameter_name(self, input: impl Into<String>) -> Self
The source parameter name of the ParameterDropDownControl
.
sourcepub fn set_source_parameter_name(self, input: Option<String>) -> Self
pub fn set_source_parameter_name(self, input: Option<String>) -> Self
The source parameter name of the ParameterDropDownControl
.
sourcepub fn get_source_parameter_name(&self) -> &Option<String>
pub fn get_source_parameter_name(&self) -> &Option<String>
The source parameter name of the ParameterDropDownControl
.
sourcepub fn display_options(self, input: DropDownControlDisplayOptions) -> Self
pub fn display_options(self, input: DropDownControlDisplayOptions) -> Self
The display options of a control.
sourcepub fn set_display_options(
self,
input: Option<DropDownControlDisplayOptions>,
) -> Self
pub fn set_display_options( self, input: Option<DropDownControlDisplayOptions>, ) -> Self
The display options of a control.
sourcepub fn get_display_options(&self) -> &Option<DropDownControlDisplayOptions>
pub fn get_display_options(&self) -> &Option<DropDownControlDisplayOptions>
The display options of a control.
sourcepub fn type(self, input: SheetControlListType) -> Self
pub fn type(self, input: SheetControlListType) -> Self
The type parameter name of the ParameterDropDownControl
.
sourcepub fn set_type(self, input: Option<SheetControlListType>) -> Self
pub fn set_type(self, input: Option<SheetControlListType>) -> Self
The type parameter name of the ParameterDropDownControl
.
sourcepub fn get_type(&self) -> &Option<SheetControlListType>
pub fn get_type(&self) -> &Option<SheetControlListType>
The type parameter name of the ParameterDropDownControl
.
sourcepub fn selectable_values(self, input: ParameterSelectableValues) -> Self
pub fn selectable_values(self, input: ParameterSelectableValues) -> Self
A list of selectable values that are used in a control.
sourcepub fn set_selectable_values(
self,
input: Option<ParameterSelectableValues>,
) -> Self
pub fn set_selectable_values( self, input: Option<ParameterSelectableValues>, ) -> Self
A list of selectable values that are used in a control.
sourcepub fn get_selectable_values(&self) -> &Option<ParameterSelectableValues>
pub fn get_selectable_values(&self) -> &Option<ParameterSelectableValues>
A list of selectable values that are used in a control.
sourcepub fn cascading_control_configuration(
self,
input: CascadingControlConfiguration,
) -> Self
pub fn cascading_control_configuration( self, input: CascadingControlConfiguration, ) -> Self
The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls.
sourcepub fn set_cascading_control_configuration(
self,
input: Option<CascadingControlConfiguration>,
) -> Self
pub fn set_cascading_control_configuration( self, input: Option<CascadingControlConfiguration>, ) -> Self
The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls.
sourcepub fn get_cascading_control_configuration(
&self,
) -> &Option<CascadingControlConfiguration>
pub fn get_cascading_control_configuration( &self, ) -> &Option<CascadingControlConfiguration>
The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls.
sourcepub fn build(self) -> Result<ParameterDropDownControl, BuildError>
pub fn build(self) -> Result<ParameterDropDownControl, BuildError>
Consumes the builder and constructs a ParameterDropDownControl
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ParameterDropDownControlBuilder
impl Clone for ParameterDropDownControlBuilder
source§fn clone(&self) -> ParameterDropDownControlBuilder
fn clone(&self) -> ParameterDropDownControlBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ParameterDropDownControlBuilder
impl Default for ParameterDropDownControlBuilder
source§fn default() -> ParameterDropDownControlBuilder
fn default() -> ParameterDropDownControlBuilder
source§impl PartialEq for ParameterDropDownControlBuilder
impl PartialEq for ParameterDropDownControlBuilder
source§fn eq(&self, other: &ParameterDropDownControlBuilder) -> bool
fn eq(&self, other: &ParameterDropDownControlBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ParameterDropDownControlBuilder
Auto Trait Implementations§
impl Freeze for ParameterDropDownControlBuilder
impl RefUnwindSafe for ParameterDropDownControlBuilder
impl Send for ParameterDropDownControlBuilder
impl Sync for ParameterDropDownControlBuilder
impl Unpin for ParameterDropDownControlBuilder
impl UnwindSafe for ParameterDropDownControlBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more