pub struct RobotsConfig {
pub path: String,
pub block_all: bool,
pub from_noindex: bool,
pub sitemap_url: Option<String>,
pub sitemap_from_plugin: bool,
pub crawl_delay: Option<f32>,
pub groups: Vec<RobotsGroup>,
pub trailing_raw: Vec<String>,
}Expand description
Builder state for robots.txt.
Fields§
§path: String§block_all: bool§from_noindex: bool§sitemap_url: Option<String>§sitemap_from_plugin: bool§crawl_delay: Option<f32>§groups: Vec<RobotsGroup>§trailing_raw: Vec<String>Trait Implementations§
Source§impl Clone for RobotsConfig
impl Clone for RobotsConfig
Source§impl Debug for RobotsConfig
impl Debug for RobotsConfig
Auto Trait Implementations§
impl Freeze for RobotsConfig
impl RefUnwindSafe for RobotsConfig
impl Send for RobotsConfig
impl Sync for RobotsConfig
impl Unpin for RobotsConfig
impl UnsafeUnpin for RobotsConfig
impl UnwindSafe for RobotsConfig
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