pub struct RobotRule {
pub user_agent: String,
pub allowed: Vec<String>,
pub disallowed: Vec<String>,
}
Fields§
§user_agent: String
§allowed: Vec<String>
§disallowed: Vec<String>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RobotRule
impl RefUnwindSafe for RobotRule
impl Send for RobotRule
impl Sync for RobotRule
impl Unpin for RobotRule
impl UnwindSafe for RobotRule
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