diff --git a/src/bin/blog_server/service/response.rs b/src/bin/blog_server/service/response.rs index 1775f4f..5ac79ba 100644 --- a/src/bin/blog_server/service/response.rs +++ b/src/bin/blog_server/service/response.rs @@ -109,10 +109,6 @@ impl Html { Self { crawler_hints, ..self } } - pub(super) fn with_crawler_restrictive(self) -> Self { - self.with_crawler_hints(CrawlerHints::restrictive()) - } - pub(super) fn with_crawler_permissive(self) -> Self { self.with_crawler_hints(CrawlerHints::permissive()) } @@ -189,26 +185,6 @@ impl CrawlerHints { } } - pub(super) const fn with_index(self, index: bool) -> Self { - Self { index, ..self } - } - - pub(super) const fn with_follow(self, follow: bool) -> Self { - Self { follow, ..self } - } - - pub(super) const fn with_archive(self, archive: bool) -> Self { - Self { archive, ..self } - } - - pub(super) const fn with_snippet(self, snippet: bool) -> Self { - Self { snippet, ..self } - } - - pub(super) const fn with_image_index(self, image_index: bool) -> Self { - Self { image_index, ..self } - } - fn index_str(self) -> &'static str { if self.index { "index"