pub struct CrawlConfig {
pub start_url: Url,
pub limits: CrawlLimits,
pub politeness: Politeness,
pub address_policy: AddressPolicy,
pub user_agent: String,
}Fields§
§start_url: Url§limits: CrawlLimits§politeness: Politeness§address_policy: AddressPolicy§user_agent: StringTrait Implementations§
Source§impl Clone for CrawlConfig
impl Clone for CrawlConfig
Source§impl Debug for CrawlConfig
impl Debug for CrawlConfig
Source§impl<'de> Deserialize<'de> for CrawlConfig
impl<'de> Deserialize<'de> for CrawlConfig
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 CrawlConfig
impl PartialEq for CrawlConfig
Source§impl Serialize for CrawlConfig
impl Serialize for CrawlConfig
impl StructuralPartialEq for CrawlConfig
Auto Trait Implementations§
impl Freeze for CrawlConfig
impl RefUnwindSafe for CrawlConfig
impl Send for CrawlConfig
impl Sync for CrawlConfig
impl Unpin for CrawlConfig
impl UnsafeUnpin for CrawlConfig
impl UnwindSafe for CrawlConfig
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