pub struct ProductionConfig {
pub api_key: String,
pub base_url: String,
pub timeout: Duration,
pub rate_limit: RateLimitConfig,
pub pool: PoolConfig,
pub retry: RetryConfig,
pub cache: CacheConfig,
pub bulk_processing: BulkProcessingConfig,
pub enable_caching: bool,
pub enable_metrics: bool,
pub enable_tracing: bool,
}Expand description
Production-grade FMP client configuration
Fields§
§api_key: StringAPI key for authentication
base_url: StringBase URL for the API
timeout: DurationRequest timeout
rate_limit: RateLimitConfigRate limiting configuration
pool: PoolConfigConnection pool configuration
retry: RetryConfigRetry configuration
cache: CacheConfigCache configuration
bulk_processing: BulkProcessingConfigBulk processing configuration
enable_caching: boolEnable production features
enable_metrics: bool§enable_tracing: boolTrait Implementations§
Source§impl Clone for ProductionConfig
impl Clone for ProductionConfig
Source§fn clone(&self) -> ProductionConfig
fn clone(&self) -> ProductionConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProductionConfig
impl Debug for ProductionConfig
Auto Trait Implementations§
impl Freeze for ProductionConfig
impl RefUnwindSafe for ProductionConfig
impl Send for ProductionConfig
impl Sync for ProductionConfig
impl Unpin for ProductionConfig
impl UnwindSafe for ProductionConfig
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