#[non_exhaustive]pub struct FeatureValue { /* private fields */ }
Expand description
The value associated with a feature.
Implementations§
source§impl FeatureValue
impl FeatureValue
sourcepub fn feature_name(&self) -> Option<&str>
pub fn feature_name(&self) -> Option<&str>
The name of a feature that a feature value corresponds to.
sourcepub fn value_as_string(&self) -> Option<&str>
pub fn value_as_string(&self) -> Option<&str>
The value associated with a feature, in string format. Note that features types can be String, Integral, or Fractional. This value represents all three types as a string.
source§impl FeatureValue
impl FeatureValue
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture FeatureValue
.
Trait Implementations§
source§impl Clone for FeatureValue
impl Clone for FeatureValue
source§fn clone(&self) -> FeatureValue
fn clone(&self) -> FeatureValue
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 more