pub struct ExperimentalFeatureEnablementSetParams {
pub enablement: HashMap<String, bool>,
}Expand description
ExperimentalFeatureEnablementSetParams
JSON schema
{
"title": "ExperimentalFeatureEnablementSetParams",
"type": "object",
"required": [
"enablement"
],
"properties": {
"enablement": {
"description": "Process-wide runtime feature enablement keyed by canonical feature name.\n\nOnly named features are updated. Omitted features are left unchanged. Send an empty map for a no-op.",
"type": "object",
"additionalProperties": {
"type": "boolean"
}
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Fields§
§enablement: HashMap<String, bool>Process-wide runtime feature enablement keyed by canonical feature name.
Only named features are updated. Omitted features are left unchanged. Send an empty map for a no-op.
Trait Implementations§
Source§impl Clone for ExperimentalFeatureEnablementSetParams
impl Clone for ExperimentalFeatureEnablementSetParams
Source§fn clone(&self) -> ExperimentalFeatureEnablementSetParams
fn clone(&self) -> ExperimentalFeatureEnablementSetParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for ExperimentalFeatureEnablementSetParams
impl<'de> Deserialize<'de> for ExperimentalFeatureEnablementSetParams
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 ExperimentalFeatureEnablementSetParams
impl RefUnwindSafe for ExperimentalFeatureEnablementSetParams
impl Send for ExperimentalFeatureEnablementSetParams
impl Sync for ExperimentalFeatureEnablementSetParams
impl Unpin for ExperimentalFeatureEnablementSetParams
impl UnsafeUnpin for ExperimentalFeatureEnablementSetParams
impl UnwindSafe for ExperimentalFeatureEnablementSetParams
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