pub enum SitemapType {
Xml,
Index,
News,
Image,
Video,
Text,
Gzip,
}Expand description
Sitemap 类型枚举。
Variants§
Xml
标准 XML Sitemap
Index
Sitemap 索引文件(指向子 Sitemap)
News
Google News Sitemap
Image
图片 Sitemap
Video
视频 Sitemap
Text
纯文本 Sitemap
Gzip
Gzip 压缩的 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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SitemapType
Source§impl Debug for SitemapType
impl Debug for SitemapType
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
impl Eq for SitemapType
Source§impl PartialEq for SitemapType
impl PartialEq for SitemapType
Source§impl Serialize for SitemapType
impl Serialize 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 UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.