pub enum Kind {
Show 16 variants
Browser,
AiTraining,
AiSearch,
AiAssistant,
AiAgent,
SearchEngine,
Seo,
Monitoring,
SocialPreview,
Feed,
Archiver,
Scanner,
Spoofed,
Tool,
NoUserAgent,
Local,
}Expand description
What a client is, more precisely.
Variants§
Browser
A browser User-Agent; a person if it loads page assets.
AiTraining
AiSearch
AiAssistant
An assistant fetching a page because someone asked it to.
AiAgent
SearchEngine
Seo
Monitoring
SocialPreview
Feed
Archiver
Scanner
Probing for secrets and admin pages (/.env, /wp-login.php).
Spoofed
Claims to be a crawler whose published network it isn’t from.
Tool
A library or tool (curl, python-requests) or an unknown bot.
NoUserAgent
Local
Implementations§
Trait Implementations§
impl Copy for Kind
impl Eq for Kind
Source§impl Ord for Kind
impl Ord for Kind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Kind
impl PartialOrd for Kind
impl StructuralPartialEq for Kind
Auto Trait Implementations§
impl Freeze for Kind
impl RefUnwindSafe for Kind
impl Send for Kind
impl Sync for Kind
impl Unpin for Kind
impl UnsafeUnpin for Kind
impl UnwindSafe for Kind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.