pub struct Robots {
pub rules: Vec<RobotsRule>,
pub sitemap: Option<String>,
pub host: Option<String>,
}Expand description
pub async fn robots() -> Robots
Fields§
§rules: Vec<RobotsRule>§sitemap: Option<String>§host: Option<String>Implementations§
Trait Implementations§
Source§impl IntoResponse for Robots
impl IntoResponse for Robots
fn into_response(self) -> Response
Auto Trait Implementations§
impl Forget for Robots
impl Freeze for Robots
impl Move for Robots
impl RefUnwindSafe for Robots
impl Send for Robots
impl Sync for Robots
impl Unpin for Robots
impl UnsafeUnpin for Robots
impl UnwindSafe for Robots
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