pub struct UrlEntry<'a> {
pub location: &'a str,
pub last_modified: Option<&'a str>,
pub change_frequency: Option<Frequency>,
pub priority: Option<f32>,
}
Expand description
The data of a entry in the urlset
.
See the official spec for more details.
Fields§
§location: &'a str
The location of this entry.
<loc>
I recommend using http::Uri
to parse this, then extract the Uri::path()
.
last_modified: Option<&'a str>
§change_frequency: Option<Frequency>
The frequency of change in this resource.
<changefreq>