#[non_exhaustive]pub struct FeatureType {
pub obsolete: bool,
pub hidden: bool,
pub engineering: bool,
pub manufacturing_deactivatable: bool,
pub compliance_deactivatable: bool,
}Expand description
A bitfield describing some properties of a feature.
Documentation is taken from https://drive.google.com/file/d/1ULmw9uJL8b8iwwUo5xjSS9F5Zvno-86y/view.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.obsolete: boolAn obsolete feature is a feature that has been replaced by a newer one, but is advertised in order for older SWs to still be able to support the feature (in case the old SW does not know yet the newer one).
A SW hidden feature is a feature that should not be known/managed/used by end user configuration SW. The host should ignore this type of features.
engineering: boolA hidden feature that has been disabled for user software. Used for internal testing and manufacturing.
manufacturing_deactivatable: boolA manufacturing feature that can be permanently deactivated. It is usually also hidden and engineering.
This field was added in feature version 2 and will be false for all
older versions.
compliance_deactivatable: boolA compliance feature that can be permanently deactivated. It is usually also hidden and engineering.
This field was added in feature version 2 and will be false for all
older versions.
Trait Implementations§
Source§impl Clone for FeatureType
impl Clone for FeatureType
Source§fn clone(&self) -> FeatureType
fn clone(&self) -> FeatureType
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more