pub struct CrawlDelay<'a> {
pub agents: Vec<&'a str>,
pub value: &'a str,
}Available on crate feature
extensions only.Expand description
A Crawl-delay directive and the group agents active when it appeared.
Fields§
§agents: Vec<&'a str>Current group agents at the point where the directive appeared.
This is empty when Crawl-delay appears before any User-agent.
value: &'a strRaw Crawl-delay value.
Trait Implementations§
Source§impl<'a> Clone for CrawlDelay<'a>
impl<'a> Clone for CrawlDelay<'a>
Source§fn clone(&self) -> CrawlDelay<'a>
fn clone(&self) -> CrawlDelay<'a>
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<'a> Debug for CrawlDelay<'a>
impl<'a> Debug for CrawlDelay<'a>
Source§impl<'a> PartialEq for CrawlDelay<'a>
impl<'a> PartialEq for CrawlDelay<'a>
impl<'a> Eq for CrawlDelay<'a>
impl<'a> StructuralPartialEq for CrawlDelay<'a>
Auto Trait Implementations§
impl<'a> Freeze for CrawlDelay<'a>
impl<'a> RefUnwindSafe for CrawlDelay<'a>
impl<'a> Send for CrawlDelay<'a>
impl<'a> Sync for CrawlDelay<'a>
impl<'a> Unpin for CrawlDelay<'a>
impl<'a> UnsafeUnpin for CrawlDelay<'a>
impl<'a> UnwindSafe for CrawlDelay<'a>
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