pub struct StealthConfig {
pub enabled: bool,
pub user_agents: Vec<String>,
pub jitter_factor: f64,
pub inject_headers: bool,
}Expand description
Stealth mode configuration for evading bot detection.
Fields§
§enabled: boolEnable stealth mode globally.
user_agents: Vec<String>Custom user-agent pool. Empty = use built-in pool.
jitter_factor: f64Jitter factor for rate limiting (0.0–1.0, default 0.2 = ±20%).
inject_headers: boolInject realistic browser headers (Accept, Sec-Fetch-*, etc.).
Trait Implementations§
Source§impl Clone for StealthConfig
impl Clone for StealthConfig
Source§fn clone(&self) -> StealthConfig
fn clone(&self) -> StealthConfig
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 StealthConfig
impl Debug for StealthConfig
Source§impl Default for StealthConfig
impl Default for StealthConfig
Source§impl<'de> Deserialize<'de> for StealthConfig
impl<'de> Deserialize<'de> for StealthConfig
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 StealthConfig
impl RefUnwindSafe for StealthConfig
impl Send for StealthConfig
impl Sync for StealthConfig
impl Unpin for StealthConfig
impl UnsafeUnpin for StealthConfig
impl UnwindSafe for StealthConfig
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