#[non_exhaustive]pub struct ExplicitHierarchyBuilder { /* private fields */ }Expand description
A builder for ExplicitHierarchy.
Implementations§
source§impl ExplicitHierarchyBuilder
impl ExplicitHierarchyBuilder
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 explicit 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 explicit 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 explicit 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 explicit 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 explicit 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 explicit hierarchy.
sourcepub fn build(self) -> ExplicitHierarchy
pub fn build(self) -> ExplicitHierarchy
Consumes the builder and constructs a ExplicitHierarchy.
Trait Implementations§
source§impl Clone for ExplicitHierarchyBuilder
impl Clone for ExplicitHierarchyBuilder
source§fn clone(&self) -> ExplicitHierarchyBuilder
fn clone(&self) -> ExplicitHierarchyBuilder
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 ExplicitHierarchyBuilder
impl Debug for ExplicitHierarchyBuilder
source§impl Default for ExplicitHierarchyBuilder
impl Default for ExplicitHierarchyBuilder
source§fn default() -> ExplicitHierarchyBuilder
fn default() -> ExplicitHierarchyBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ExplicitHierarchyBuilder> for ExplicitHierarchyBuilder
impl PartialEq<ExplicitHierarchyBuilder> for ExplicitHierarchyBuilder
source§fn eq(&self, other: &ExplicitHierarchyBuilder) -> bool
fn eq(&self, other: &ExplicitHierarchyBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.