pub struct RobotsDoc {
pub groups: Vec<Group>,
pub sitemaps: Vec<String>,
pub redirect: Option<RedirectMetadata>,
pub warnings: Vec<String>,
}Expand description
Parsed robots data.
Fields§
§groups: Vec<Group>Groups.
sitemaps: Vec<String>Sitemap URL claims.
redirect: Option<RedirectMetadata>Optional externally supplied redirect metadata.
warnings: Vec<String>Decode warnings.
Implementations§
Trait Implementations§
impl Eq for RobotsDoc
impl StructuralPartialEq for RobotsDoc
Auto Trait Implementations§
impl Freeze for RobotsDoc
impl RefUnwindSafe for RobotsDoc
impl Send for RobotsDoc
impl Sync for RobotsDoc
impl Unpin for RobotsDoc
impl UnsafeUnpin for RobotsDoc
impl UnwindSafe for RobotsDoc
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