pub struct SitemapEntry {
pub loc: Url,
pub lastmod: Option<String>,
pub changefreq: Option<ChangeFreq>,
pub priority: Option<f32>,
pub images: Vec<SitemapImage>,
pub videos: Vec<SitemapVideo>,
pub news: Option<SitemapNews>,
}Expand description
Sitemap entry
Fields§
§loc: UrlPage URL
lastmod: Option<String>Last modification date
changefreq: Option<ChangeFreq>Change frequency
priority: Option<f32>Priority (0.0 - 1.0)
images: Vec<SitemapImage>Associated images
videos: Vec<SitemapVideo>Associated videos
news: Option<SitemapNews>Associated news
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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SitemapEntry
impl RefUnwindSafe for SitemapEntry
impl Send for SitemapEntry
impl Sync for SitemapEntry
impl Unpin 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