#[non_exhaustive]pub struct DataPathLabelTypeBuilder { /* private fields */ }
Expand description
A builder for DataPathLabelType
.
Implementations§
source§impl DataPathLabelTypeBuilder
impl DataPathLabelTypeBuilder
sourcepub fn field_id(self, input: impl Into<String>) -> Self
pub fn field_id(self, input: impl Into<String>) -> Self
The field ID of the field that the data label needs to be applied to.
sourcepub fn set_field_id(self, input: Option<String>) -> Self
pub fn set_field_id(self, input: Option<String>) -> Self
The field ID of the field that the data label needs to be applied to.
sourcepub fn get_field_id(&self) -> &Option<String>
pub fn get_field_id(&self) -> &Option<String>
The field ID of the field that the data label needs to be applied to.
sourcepub fn field_value(self, input: impl Into<String>) -> Self
pub fn field_value(self, input: impl Into<String>) -> Self
The actual value of the field that is labeled.
sourcepub fn set_field_value(self, input: Option<String>) -> Self
pub fn set_field_value(self, input: Option<String>) -> Self
The actual value of the field that is labeled.
sourcepub fn get_field_value(&self) -> &Option<String>
pub fn get_field_value(&self) -> &Option<String>
The actual value of the field that is labeled.
sourcepub fn visibility(self, input: Visibility) -> Self
pub fn visibility(self, input: Visibility) -> Self
The visibility of the data label.
sourcepub fn set_visibility(self, input: Option<Visibility>) -> Self
pub fn set_visibility(self, input: Option<Visibility>) -> Self
The visibility of the data label.
sourcepub fn get_visibility(&self) -> &Option<Visibility>
pub fn get_visibility(&self) -> &Option<Visibility>
The visibility of the data label.
sourcepub fn build(self) -> DataPathLabelType
pub fn build(self) -> DataPathLabelType
Consumes the builder and constructs a DataPathLabelType
.
Trait Implementations§
source§impl Clone for DataPathLabelTypeBuilder
impl Clone for DataPathLabelTypeBuilder
source§fn clone(&self) -> DataPathLabelTypeBuilder
fn clone(&self) -> DataPathLabelTypeBuilder
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 DataPathLabelTypeBuilder
impl Debug for DataPathLabelTypeBuilder
source§impl Default for DataPathLabelTypeBuilder
impl Default for DataPathLabelTypeBuilder
source§fn default() -> DataPathLabelTypeBuilder
fn default() -> DataPathLabelTypeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DataPathLabelTypeBuilder
impl PartialEq for DataPathLabelTypeBuilder
source§fn eq(&self, other: &DataPathLabelTypeBuilder) -> bool
fn eq(&self, other: &DataPathLabelTypeBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DataPathLabelTypeBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DataPathLabelTypeBuilder
impl Send for DataPathLabelTypeBuilder
impl Sync for DataPathLabelTypeBuilder
impl Unpin for DataPathLabelTypeBuilder
impl UnwindSafe for DataPathLabelTypeBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.