#[non_exhaustive]pub struct PredefinedHierarchyBuilder { /* private fields */ }Expand description
A builder for PredefinedHierarchy.
Implementations§
source§impl PredefinedHierarchyBuilder
impl PredefinedHierarchyBuilder
sourcepub fn hierarchy_id(self, input: impl Into<String>) -> Self
pub fn hierarchy_id(self, input: impl Into<String>) -> Self
The hierarchy ID of the predefined hierarchy.
sourcepub fn set_hierarchy_id(self, input: Option<String>) -> Self
pub fn set_hierarchy_id(self, input: Option<String>) -> Self
The hierarchy ID of the predefined hierarchy.
sourcepub fn columns(self, input: ColumnIdentifier) -> Self
pub fn columns(self, input: ColumnIdentifier) -> Self
Appends an item to columns.
To override the contents of this collection use set_columns.
The list of columns that define the predefined hierarchy.
sourcepub fn set_columns(self, input: Option<Vec<ColumnIdentifier>>) -> Self
pub fn set_columns(self, input: Option<Vec<ColumnIdentifier>>) -> Self
The list of columns that define the predefined hierarchy.
sourcepub fn drill_down_filters(self, input: DrillDownFilter) -> Self
pub fn drill_down_filters(self, input: DrillDownFilter) -> Self
Appends an item to drill_down_filters.
To override the contents of this collection use set_drill_down_filters.
The option that determines the drill down filters for the predefined hierarchy.
sourcepub fn set_drill_down_filters(self, input: Option<Vec<DrillDownFilter>>) -> Self
pub fn set_drill_down_filters(self, input: Option<Vec<DrillDownFilter>>) -> Self
The option that determines the drill down filters for the predefined hierarchy.
sourcepub fn build(self) -> PredefinedHierarchy
pub fn build(self) -> PredefinedHierarchy
Consumes the builder and constructs a PredefinedHierarchy.
Trait Implementations§
source§impl Clone for PredefinedHierarchyBuilder
impl Clone for PredefinedHierarchyBuilder
source§fn clone(&self) -> PredefinedHierarchyBuilder
fn clone(&self) -> PredefinedHierarchyBuilder
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 PredefinedHierarchyBuilder
impl Debug for PredefinedHierarchyBuilder
source§impl Default for PredefinedHierarchyBuilder
impl Default for PredefinedHierarchyBuilder
source§fn default() -> PredefinedHierarchyBuilder
fn default() -> PredefinedHierarchyBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<PredefinedHierarchyBuilder> for PredefinedHierarchyBuilder
impl PartialEq<PredefinedHierarchyBuilder> for PredefinedHierarchyBuilder
source§fn eq(&self, other: &PredefinedHierarchyBuilder) -> bool
fn eq(&self, other: &PredefinedHierarchyBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.