pub struct FeatureSpec {
pub id: &'static str,
pub title: &'static str,
pub description: &'static str,
pub stage: FeatureStage,
pub default_enabled: bool,
pub toggleable: bool,
}Expand description
Static metadata and policy for one registered feature.
Fields§
§id: &'static str§title: &'static str§description: &'static str§stage: FeatureStage§default_enabled: bool§toggleable: boolTrait Implementations§
Source§impl Clone for FeatureSpec
impl Clone for FeatureSpec
impl Copy for FeatureSpec
Source§impl Debug for FeatureSpec
impl Debug for FeatureSpec
impl Eq for FeatureSpec
Source§impl PartialEq for FeatureSpec
impl PartialEq for FeatureSpec
impl StructuralPartialEq for FeatureSpec
Auto Trait Implementations§
impl Forget for FeatureSpec
impl Freeze for FeatureSpec
impl Move for FeatureSpec
impl RefUnwindSafe for FeatureSpec
impl Send for FeatureSpec
impl Sync for FeatureSpec
impl Unpin for FeatureSpec
impl UnsafeUnpin for FeatureSpecwhere
&'static str: UnsafeUnpin,
impl UnwindSafe for FeatureSpecwhere
&'static str: UnwindSafe,
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