pub struct StatsigClientConfig {Show 14 fields
pub api_key: String,
pub base_url: String,
pub events_base_url: String,
pub timeout: Duration,
pub retry_attempts: u32,
pub retry_delay: Duration,
pub cache_ttl: Duration,
pub cache_max_capacity: u64,
pub batch_size: usize,
pub batch_flush_interval: Duration,
pub offline_fallback: bool,
pub exposure_logging_disabled: bool,
pub sdk_type: String,
pub sdk_version: String,
}Fields§
§api_key: String§base_url: String§events_base_url: String§timeout: Duration§retry_attempts: u32§retry_delay: Duration§cache_ttl: Duration§cache_max_capacity: u64§batch_size: usize§batch_flush_interval: Duration§offline_fallback: bool§exposure_logging_disabled: bool§sdk_type: String§sdk_version: StringImplementations§
Source§impl StatsigClientConfig
impl StatsigClientConfig
Sourcepub fn builder() -> StatsigClientConfigBuilder
pub fn builder() -> StatsigClientConfigBuilder
Create an instance of StatsigClientConfig using the builder syntax
Trait Implementations§
Source§impl Clone for StatsigClientConfig
impl Clone for StatsigClientConfig
Source§fn clone(&self) -> StatsigClientConfig
fn clone(&self) -> StatsigClientConfig
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StatsigClientConfig
impl RefUnwindSafe for StatsigClientConfig
impl Send for StatsigClientConfig
impl Sync for StatsigClientConfig
impl Unpin for StatsigClientConfig
impl UnwindSafe for StatsigClientConfig
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)