#[non_exhaustive]pub struct SheetVisualScopingConfigurationBuilder { /* private fields */ }Expand description
A builder for SheetVisualScopingConfiguration.
Implementations§
source§impl SheetVisualScopingConfigurationBuilder
impl SheetVisualScopingConfigurationBuilder
sourcepub fn sheet_id(self, input: impl Into<String>) -> Self
pub fn sheet_id(self, input: impl Into<String>) -> Self
The selected sheet that the filter is applied to.
This field is required.sourcepub fn set_sheet_id(self, input: Option<String>) -> Self
pub fn set_sheet_id(self, input: Option<String>) -> Self
The selected sheet that the filter is applied to.
sourcepub fn get_sheet_id(&self) -> &Option<String>
pub fn get_sheet_id(&self) -> &Option<String>
The selected sheet that the filter is applied to.
sourcepub fn scope(self, input: FilterVisualScope) -> Self
pub fn scope(self, input: FilterVisualScope) -> Self
The scope of the applied entities. Choose one of the following options:
-
ALL_VISUALS -
SELECTED_VISUALS
sourcepub fn set_scope(self, input: Option<FilterVisualScope>) -> Self
pub fn set_scope(self, input: Option<FilterVisualScope>) -> Self
The scope of the applied entities. Choose one of the following options:
-
ALL_VISUALS -
SELECTED_VISUALS
sourcepub fn get_scope(&self) -> &Option<FilterVisualScope>
pub fn get_scope(&self) -> &Option<FilterVisualScope>
The scope of the applied entities. Choose one of the following options:
-
ALL_VISUALS -
SELECTED_VISUALS
sourcepub fn visual_ids(self, input: impl Into<String>) -> Self
pub fn visual_ids(self, input: impl Into<String>) -> Self
Appends an item to visual_ids.
To override the contents of this collection use set_visual_ids.
The selected visuals that the filter is applied to.
sourcepub fn set_visual_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_visual_ids(self, input: Option<Vec<String>>) -> Self
The selected visuals that the filter is applied to.
sourcepub fn get_visual_ids(&self) -> &Option<Vec<String>>
pub fn get_visual_ids(&self) -> &Option<Vec<String>>
The selected visuals that the filter is applied to.
sourcepub fn build(self) -> Result<SheetVisualScopingConfiguration, BuildError>
pub fn build(self) -> Result<SheetVisualScopingConfiguration, BuildError>
Consumes the builder and constructs a SheetVisualScopingConfiguration.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for SheetVisualScopingConfigurationBuilder
impl Clone for SheetVisualScopingConfigurationBuilder
source§fn clone(&self) -> SheetVisualScopingConfigurationBuilder
fn clone(&self) -> SheetVisualScopingConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for SheetVisualScopingConfigurationBuilder
impl Default for SheetVisualScopingConfigurationBuilder
source§fn default() -> SheetVisualScopingConfigurationBuilder
fn default() -> SheetVisualScopingConfigurationBuilder
source§impl PartialEq for SheetVisualScopingConfigurationBuilder
impl PartialEq for SheetVisualScopingConfigurationBuilder
source§fn eq(&self, other: &SheetVisualScopingConfigurationBuilder) -> bool
fn eq(&self, other: &SheetVisualScopingConfigurationBuilder) -> bool
self and other values to be equal, and is used
by ==.