pub struct StatsigOptionsBuilder { /* private fields */ }
Implementations§
Source§impl StatsigOptionsBuilder
impl StatsigOptionsBuilder
pub fn new() -> Self
pub fn specs_url(self, specs_url: Option<String>) -> Self
pub fn specs_adapter(self, specs_adapter: Option<Arc<dyn SpecsAdapter>>) -> Self
pub fn specs_sync_interval_ms(self, specs_sync_interval_ms: Option<u32>) -> Self
pub fn log_event_url(self, log_event_url: Option<String>) -> Self
pub fn disable_all_logging(self, disable_all_logging: Option<bool>) -> Self
pub fn event_logging_adapter( self, event_logging_adapter: Option<Arc<dyn EventLoggingAdapter>>, ) -> Self
pub fn event_logging_flush_interval_ms( self, event_logging_flush_interval_ms: Option<u32>, ) -> Self
👎Deprecated: This field is deprecated in favor of smart log event. It is no longer consumed and can be removed safely.
pub fn event_logging_max_queue_size( self, event_logging_max_queue_size: Option<u32>, ) -> Self
pub fn event_logging_max_pending_batch_queue_size( self, event_logging_max_pending_batch_queue_size: Option<u32>, ) -> Self
pub fn enable_id_lists(self, enable_id_lists: Option<bool>) -> Self
pub fn id_lists_url(self, id_lists_url: Option<String>) -> Self
pub fn id_lists_adapter( self, id_lists_adapter: Option<Arc<dyn IdListsAdapter>>, ) -> Self
pub fn id_lists_sync_interval_ms( self, id_lists_sync_interval_ms: Option<u32>, ) -> Self
pub fn proxy_config(self, proxy_config: Option<ProxyConfig>) -> Self
pub fn environment(self, environment: Option<String>) -> Self
pub fn config_compression_mode( self, config_compression_mode: Option<ConfigCompressionMode>, ) -> Self
👎Deprecated: This field is deprecated and will be removed in a future release. It is no longer consumed and can be removed safely.
pub fn output_log_level(self, output_log_level: Option<u32>) -> Self
pub fn output_logger_provider( self, output_logger_provider: Option<Arc<dyn OutputLogProvider>>, ) -> Self
pub fn wait_for_country_lookup_init( self, wait_for_country_lookup_init: Option<bool>, ) -> Self
pub fn wait_for_user_agent_init( self, wait_for_user_agent_init: Option<bool>, ) -> Self
pub fn disable_country_lookup( self, disable_country_lookup: Option<bool>, ) -> Self
pub fn service_name(self, service_name: Option<String>) -> Self
pub fn fallback_to_statsig_api( self, fallback_to_statsig_api: Option<bool>, ) -> Self
pub fn global_custom_fields( self, global_custom_fields: Option<HashMap<String, DynamicValue>>, ) -> Self
pub fn disable_network(self, disable_network: Option<bool>) -> Self
pub fn use_third_party_ua_parser( self, use_third_party_ua_parser: Option<bool>, ) -> Self
pub fn init_timeout_ms(self, init_timeout_ms: Option<u64>) -> Self
pub fn build(self) -> StatsigOptions
pub fn observability_client( self, client: Option<Weak<dyn ObservabilityClient>>, ) -> Self
pub fn data_store(self, data_store: Option<Arc<dyn DataStoreTrait>>) -> Self
Trait Implementations§
Source§impl Default for StatsigOptionsBuilder
impl Default for StatsigOptionsBuilder
Source§fn default() -> StatsigOptionsBuilder
fn default() -> StatsigOptionsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StatsigOptionsBuilder
impl !RefUnwindSafe for StatsigOptionsBuilder
impl Send for StatsigOptionsBuilder
impl Sync for StatsigOptionsBuilder
impl Unpin for StatsigOptionsBuilder
impl !UnwindSafe for StatsigOptionsBuilder
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