configcat 0.1.5

ConfigCat Rust SDK
Documentation
1
2
3
4
5
6
7
8
use crate::Setting;
use std::collections::HashMap;

/// Data source that provides feature flag and setting value overrides.
pub trait OverrideDataSource: Sync + Send {
    /// Gets the overridden feature flag or setting values.
    fn settings(&self) -> &HashMap<String, Setting>;
}