pub struct RobotsRule {
pub user_agent: String,
pub allow: Vec<String>,
pub disallow: Vec<String>,
pub crawl_delay: Option<u32>,
}Fields§
§user_agent: String§allow: Vec<String>§disallow: Vec<String>§crawl_delay: Option<u32>Trait Implementations§
Source§impl Clone for RobotsRule
impl Clone for RobotsRule
Source§fn clone(&self) -> RobotsRule
fn clone(&self) -> RobotsRule
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RobotsRule
impl Debug for RobotsRule
Source§impl Default for RobotsRule
impl Default for RobotsRule
Source§fn default() -> RobotsRule
fn default() -> RobotsRule
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Forget for RobotsRule
impl Freeze for RobotsRule
impl Move for RobotsRule
impl RefUnwindSafe for RobotsRule
impl Send for RobotsRule
impl Sync for RobotsRule
impl Unpin for RobotsRule
impl UnsafeUnpin for RobotsRule
impl UnwindSafe for RobotsRule
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