#[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 ==
.impl StructuralPartialEq for SheetVisualScopingConfigurationBuilder
Auto Trait Implementations§
impl Freeze for SheetVisualScopingConfigurationBuilder
impl RefUnwindSafe for SheetVisualScopingConfigurationBuilder
impl Send for SheetVisualScopingConfigurationBuilder
impl Sync for SheetVisualScopingConfigurationBuilder
impl Unpin for SheetVisualScopingConfigurationBuilder
impl UnwindSafe for SheetVisualScopingConfigurationBuilder
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