pub struct FeatureGate {
pub name: String,
pub description: Option<String>,
pub enabled: bool,
pub dependencies: Vec<String>,
}Expand description
Feature gate for conditional dependencies
Fields§
§name: String§description: Option<String>§enabled: bool§dependencies: Vec<String>Implementations§
Source§impl FeatureGate
impl FeatureGate
Trait Implementations§
Source§impl Clone for FeatureGate
impl Clone for FeatureGate
Source§fn clone(&self) -> FeatureGate
fn clone(&self) -> FeatureGate
Returns a duplicate 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 FeatureGate
impl Debug for FeatureGate
Source§impl<'de> Deserialize<'de> for FeatureGate
impl<'de> Deserialize<'de> for FeatureGate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FeatureGate
impl RefUnwindSafe for FeatureGate
impl Send for FeatureGate
impl Sync for FeatureGate
impl Unpin for FeatureGate
impl UnsafeUnpin for FeatureGate
impl UnwindSafe for FeatureGate
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