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 · 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 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
Source§impl PartialEq for SitemapSource
impl PartialEq for SitemapSource
Source§impl Serialize for SitemapSource
impl Serialize for SitemapSource
impl Copy for SitemapSource
impl Eq 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 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