pub struct StatsigLocalOverrideAdapter { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Default for StatsigLocalOverrideAdapter
impl Default for StatsigLocalOverrideAdapter
Source§fn default() -> StatsigLocalOverrideAdapter
fn default() -> StatsigLocalOverrideAdapter
Returns the “default value” for a type. Read more
Source§impl OverrideAdapter for StatsigLocalOverrideAdapter
impl OverrideAdapter for StatsigLocalOverrideAdapter
fn get_gate_override( &self, user: &StatsigUser, gate_name: &str, result: &mut EvaluatorResult<'_>, ) -> bool
fn get_dynamic_config_override( &self, user: &StatsigUser, dynamic_config_name: &str, result: &mut EvaluatorResult<'_>, ) -> bool
fn get_experiment_override( &self, user: &StatsigUser, experiment_name: &str, result: &mut EvaluatorResult<'_>, opt_spec: Option<&Spec>, ) -> bool
fn get_layer_override( &self, user: &StatsigUser, layer_name: &str, result: &mut EvaluatorResult<'_>, ) -> bool
fn override_gate(&self, key: &str, value: bool, id: Option<&str>)
fn override_dynamic_config( &self, key: &str, value: HashMap<String, Value>, id: Option<&str>, )
fn override_experiment( &self, key: &str, value: HashMap<String, Value>, id: Option<&str>, )
fn override_experiment_by_group_name( &self, key: &str, group_name: &str, id: Option<&str>, )
fn override_layer( &self, key: &str, value: HashMap<String, Value>, id: Option<&str>, )
fn remove_gate_override(&self, key: &str, id: Option<&str>)
fn remove_dynamic_config_override(&self, key: &str, id: Option<&str>)
fn remove_experiment_override(&self, key: &str, id: Option<&str>)
fn remove_layer_override(&self, key: &str, id: Option<&str>)
fn remove_all_overrides(&self)
Auto Trait Implementations§
impl !Freeze for StatsigLocalOverrideAdapter
impl !RefUnwindSafe for StatsigLocalOverrideAdapter
impl Send for StatsigLocalOverrideAdapter
impl Sync for StatsigLocalOverrideAdapter
impl Unpin for StatsigLocalOverrideAdapter
impl UnwindSafe for StatsigLocalOverrideAdapter
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