pub enum SitemapSource {
LinkTag,
RobotsTxt,
WellKnown,
SitemapIndex,
}Expand description
How sitemap was discovered
Variants§
LinkTag
From tag
RobotsTxt
From robots.txt
WellKnown
From well-known path
SitemapIndex
From sitemap index
Trait Implementations§
Source§impl Clone for SitemapSource
impl Clone for SitemapSource
Source§fn clone(&self) -> SitemapSource
fn clone(&self) -> SitemapSource
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 SitemapSource
Source§impl Debug for SitemapSource
impl Debug for SitemapSource
Source§impl Default for SitemapSource
impl Default for SitemapSource
Source§fn default() -> SitemapSource
fn default() -> SitemapSource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SitemapSource
impl<'de> Deserialize<'de> for SitemapSource
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 SitemapSource
Source§impl PartialEq for SitemapSource
impl PartialEq for SitemapSource
Source§fn eq(&self, other: &SitemapSource) -> bool
fn eq(&self, other: &SitemapSource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SitemapSource
impl Serialize for SitemapSource
impl StructuralPartialEq for SitemapSource
Auto Trait Implementations§
impl Freeze for SitemapSource
impl RefUnwindSafe for SitemapSource
impl Send for SitemapSource
impl Sync for SitemapSource
impl Unpin for SitemapSource
impl UnsafeUnpin for SitemapSource
impl UnwindSafe for SitemapSource
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