pub struct CompiledToggle {
pub name: String,
pub enabled: bool,
pub feature_type: Option<String>,
pub compiled_strategy: RuleFragment,
pub compiled_variant_strategy: Option<Vec<(RuleFragment, Vec<CompiledVariant>, String)>>,
pub variants: Vec<CompiledVariant>,
pub impression_data: bool,
pub project: String,
pub dependencies: Vec<FeatureDependency>,
}
Fields§
§name: String
§enabled: bool
§feature_type: Option<String>
§compiled_strategy: RuleFragment
§compiled_variant_strategy: Option<Vec<(RuleFragment, Vec<CompiledVariant>, String)>>
§variants: Vec<CompiledVariant>
§impression_data: bool
§project: String
§dependencies: Vec<FeatureDependency>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CompiledToggle
impl !RefUnwindSafe for CompiledToggle
impl Send for CompiledToggle
impl Sync for CompiledToggle
impl Unpin for CompiledToggle
impl !UnwindSafe for CompiledToggle
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