pub struct SitemapConfig {
pub enabled: bool,
pub url_pattern: String,
pub priority: f32,
pub changefreq: String,
pub fetch_from: String,
pub parent_route: Option<ParentRoute>,
}Fields§
§enabled: bool§url_pattern: String§priority: f32§changefreq: String§fetch_from: String§parent_route: Option<ParentRoute>Trait Implementations§
Source§impl Clone for SitemapConfig
impl Clone for SitemapConfig
Source§fn clone(&self) -> SitemapConfig
fn clone(&self) -> SitemapConfig
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 SitemapConfig
impl Debug for SitemapConfig
Source§impl<'de> Deserialize<'de> for SitemapConfig
impl<'de> Deserialize<'de> for SitemapConfig
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
Auto Trait Implementations§
impl Freeze for SitemapConfig
impl RefUnwindSafe for SitemapConfig
impl Send for SitemapConfig
impl Sync for SitemapConfig
impl Unpin for SitemapConfig
impl UnwindSafe for SitemapConfig
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