pub struct CrawlerThrottling {Show 13 fields
pub enable: bool,
pub default_frequency: u32,
pub default_rate: u32,
pub default_wait: u32,
pub frequency_limit: u32,
pub rate_limit: u32,
pub wait_limit: u32,
pub change_tight_threshold: u32,
pub change_loose_threshold: u32,
pub change_tight_range: u32,
pub change_loose_range: u32,
pub multiplier: u32,
pub auto_adjust: bool,
}
Fields§
§enable: bool
§default_frequency: u32
§default_rate: u32
§default_wait: u32
§frequency_limit: u32
§rate_limit: u32
§wait_limit: u32
§change_tight_threshold: u32
§change_loose_threshold: u32
§change_tight_range: u32
§change_loose_range: u32
§multiplier: u32
§auto_adjust: bool
Trait Implementations§
Source§impl Clone for CrawlerThrottling
impl Clone for CrawlerThrottling
Source§fn clone(&self) -> CrawlerThrottling
fn clone(&self) -> CrawlerThrottling
Returns a copy 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 CrawlerThrottling
impl Debug for CrawlerThrottling
Source§impl Default for CrawlerThrottling
impl Default for CrawlerThrottling
Source§fn default() -> CrawlerThrottling
fn default() -> CrawlerThrottling
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CrawlerThrottling
impl<'de> Deserialize<'de> for CrawlerThrottling
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
Auto Trait Implementations§
impl Freeze for CrawlerThrottling
impl RefUnwindSafe for CrawlerThrottling
impl Send for CrawlerThrottling
impl Sync for CrawlerThrottling
impl Unpin for CrawlerThrottling
impl UnwindSafe for CrawlerThrottling
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