Enum sitewriter::ChangeFreq
source · pub enum ChangeFreq {
Always,
Hourly,
Daily,
Weekly,
Monthly,
Yearly,
Never,
}
Expand description
How frequently the page is likely to change. This value provides general information to search engines and may not correlate exactly to how often they crawl the page.
Variants§
Always
Changes each time it’s accessed.
Hourly
Changes hourly.
Daily
Changes daily.
Weekly
Changes weekly.
Monthly
Changes monthly.
Yearly
Changes yearly.
Never
Describes archived URLs.
Trait Implementations§
source§impl Clone for ChangeFreq
impl Clone for ChangeFreq
source§fn clone(&self) -> ChangeFreq
fn clone(&self) -> ChangeFreq
Returns a copy 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 ChangeFreq
impl Debug for ChangeFreq
source§impl Display for ChangeFreq
impl Display for ChangeFreq
source§impl Hash for ChangeFreq
impl Hash for ChangeFreq
source§impl Ord for ChangeFreq
impl Ord for ChangeFreq
source§fn cmp(&self, other: &ChangeFreq) -> Ordering
fn cmp(&self, other: &ChangeFreq) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ChangeFreq
impl PartialEq for ChangeFreq
source§fn eq(&self, other: &ChangeFreq) -> bool
fn eq(&self, other: &ChangeFreq) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ChangeFreq
impl PartialOrd for ChangeFreq
source§fn partial_cmp(&self, other: &ChangeFreq) -> Option<Ordering>
fn partial_cmp(&self, other: &ChangeFreq) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ChangeFreq
impl Eq for ChangeFreq
impl StructuralEq for ChangeFreq
impl StructuralPartialEq for ChangeFreq
Auto Trait Implementations§
impl RefUnwindSafe for ChangeFreq
impl Send for ChangeFreq
impl Sync for ChangeFreq
impl Unpin for ChangeFreq
impl UnwindSafe for ChangeFreq
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