pub struct SitemapEntry {
pub loc: String,
pub lastmod: Option<String>,
pub priority: Option<f32>,
pub changefreq: Option<String>,
}Expand description
One URL entry parsed from a sitemap document.
Fields§
§loc: StringAbsolute URL contained in the loc element.
lastmod: Option<String>Optional sitemap modification timestamp.
priority: Option<f32>Optional sitemap priority.
changefreq: Option<String>Optional sitemap change frequency.
Trait Implementations§
Source§impl Clone for SitemapEntry
impl Clone for SitemapEntry
Source§fn clone(&self) -> SitemapEntry
fn clone(&self) -> SitemapEntry
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 moreSource§impl Debug for SitemapEntry
impl Debug for SitemapEntry
Source§impl PartialEq for SitemapEntry
impl PartialEq for SitemapEntry
impl StructuralPartialEq for SitemapEntry
Auto Trait Implementations§
impl Freeze for SitemapEntry
impl RefUnwindSafe for SitemapEntry
impl Send for SitemapEntry
impl Sync for SitemapEntry
impl Unpin for SitemapEntry
impl UnsafeUnpin for SitemapEntry
impl UnwindSafe for SitemapEntry
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