pub struct FlagsmithOptions {
pub api_url: String,
pub custom_headers: HeaderMap,
pub request_timeout_seconds: u64,
pub enable_local_evaluation: bool,
pub environment_refresh_interval_mills: u64,
pub enable_analytics: bool,
pub default_flag_handler: Option<fn(&str) -> Flag>,
}Fields§
§api_url: String§custom_headers: HeaderMap§request_timeout_seconds: u64§enable_local_evaluation: bool§environment_refresh_interval_mills: u64§enable_analytics: bool§default_flag_handler: Option<fn(&str) -> Flag>Trait Implementations§
Auto Trait Implementations§
impl Freeze for FlagsmithOptions
impl RefUnwindSafe for FlagsmithOptions
impl Send for FlagsmithOptions
impl Sync for FlagsmithOptions
impl Unpin for FlagsmithOptions
impl UnwindSafe for FlagsmithOptions
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