pub enum ParseKeyType {
UserAgent = 0,
Sitemap = 1,
Allow = 2,
Disallow = 3,
Unknown = 128,
}Expand description
A enum represents key types in robotstxt.
Variants§
UserAgent = 0
Sitemap = 1
Allow = 2
Disallow = 3
Unknown = 128
Unrecognized field; kept as-is. High number so that additions to the enumeration above does not change the serialization.
Trait Implementations§
Source§impl PartialEq for ParseKeyType
impl PartialEq for ParseKeyType
impl Eq for ParseKeyType
impl StructuralPartialEq for ParseKeyType
Auto Trait Implementations§
impl Freeze for ParseKeyType
impl RefUnwindSafe for ParseKeyType
impl Send for ParseKeyType
impl Sync for ParseKeyType
impl Unpin for ParseKeyType
impl UnwindSafe for ParseKeyType
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