Enum rss::extension::syndication::UpdatePeriod
source · pub enum UpdatePeriod {
Hourly,
Daily,
Weekly,
Monthly,
Yearly,
}
Expand description
The unit of time between updates/refreshes
Variants§
Hourly
refresh hourly
Daily
refresh daily
Weekly
refresh weekly
Monthly
refresh monthly
Yearly
refresh yearly
Trait Implementations§
source§impl Clone for UpdatePeriod
impl Clone for UpdatePeriod
source§fn clone(&self) -> UpdatePeriod
fn clone(&self) -> UpdatePeriod
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 UpdatePeriod
impl Debug for UpdatePeriod
source§impl<'de> Deserialize<'de> for UpdatePeriod
impl<'de> Deserialize<'de> for UpdatePeriod
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
source§impl Display for UpdatePeriod
impl Display for UpdatePeriod
source§impl FromStr for UpdatePeriod
impl FromStr for UpdatePeriod
source§impl PartialEq for UpdatePeriod
impl PartialEq for UpdatePeriod
source§fn eq(&self, other: &UpdatePeriod) -> bool
fn eq(&self, other: &UpdatePeriod) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UpdatePeriod
impl Serialize for UpdatePeriod
impl StructuralPartialEq for UpdatePeriod
Auto Trait Implementations§
impl Freeze for UpdatePeriod
impl RefUnwindSafe for UpdatePeriod
impl Send for UpdatePeriod
impl Sync for UpdatePeriod
impl Unpin for UpdatePeriod
impl UnwindSafe for UpdatePeriod
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