pub enum SitemapType {
Xml,
Index,
News,
Image,
Video,
Text,
Gzip,
}Expand description
Type of sitemap
Variants§
Xml
Standard XML sitemap
Index
Sitemap index (contains other sitemaps)
News
News sitemap
Image
Image sitemap
Video
Video sitemap
Text
Text sitemap
Gzip
Gzip compressed sitemap
Trait Implementations§
Source§impl Clone for SitemapType
impl Clone for SitemapType
Source§fn clone(&self) -> SitemapType
fn clone(&self) -> SitemapType
Returns a duplicate of the value. Read more
1.0.0 · 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 SitemapType
impl Debug for SitemapType
Source§impl Default for SitemapType
impl Default for SitemapType
Source§fn default() -> SitemapType
fn default() -> SitemapType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SitemapType
impl<'de> Deserialize<'de> for SitemapType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SitemapType
impl PartialEq for SitemapType
Source§impl Serialize for SitemapType
impl Serialize for SitemapType
impl Copy for SitemapType
impl Eq for SitemapType
impl StructuralPartialEq for SitemapType
Auto Trait Implementations§
impl Freeze for SitemapType
impl RefUnwindSafe for SitemapType
impl Send for SitemapType
impl Sync for SitemapType
impl Unpin for SitemapType
impl UnwindSafe for SitemapType
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