pub struct HttpBootstrapConfig {
pub endpoints: Vec<EndpointConfig>,
pub timeout_seconds: u64,
pub max_retries: u32,
pub retry_delay_ms: u64,
pub max_pages: Option<u64>,
}Expand description
Top-level configuration for the HTTP bootstrap provider.
Fields§
§endpoints: Vec<EndpointConfig>List of endpoint configurations to fetch data from.
timeout_seconds: u64HTTP request timeout in seconds (default: 30).
max_retries: u32Maximum number of retries on failure (default: 3).
retry_delay_ms: u64Delay between retries in milliseconds (default: 1000).
max_pages: Option<u64>Maximum number of pages to fetch per endpoint (default: 10,000). Set a higher value for very large initial loads.
Implementations§
Trait Implementations§
Source§impl Clone for HttpBootstrapConfig
impl Clone for HttpBootstrapConfig
Source§fn clone(&self) -> HttpBootstrapConfig
fn clone(&self) -> HttpBootstrapConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HttpBootstrapConfig
impl Debug for HttpBootstrapConfig
Source§impl<'de> Deserialize<'de> for HttpBootstrapConfig
impl<'de> Deserialize<'de> for HttpBootstrapConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for HttpBootstrapConfig
impl PartialEq for HttpBootstrapConfig
Source§fn eq(&self, other: &HttpBootstrapConfig) -> bool
fn eq(&self, other: &HttpBootstrapConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HttpBootstrapConfig
impl Serialize for HttpBootstrapConfig
impl StructuralPartialEq for HttpBootstrapConfig
Auto Trait Implementations§
impl Freeze for HttpBootstrapConfig
impl RefUnwindSafe for HttpBootstrapConfig
impl Send for HttpBootstrapConfig
impl Sync for HttpBootstrapConfig
impl Unpin for HttpBootstrapConfig
impl UnsafeUnpin for HttpBootstrapConfig
impl UnwindSafe for HttpBootstrapConfig
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