#[non_exhaustive]pub enum RssVersion {
RSS0_90,
RSS0_91,
RSS0_92,
RSS1_0,
RSS2_0,
}
Expand description
Represents the different versions of RSS.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
RSS0_90
RSS version 0.90
RSS0_91
RSS version 0.91
RSS0_92
RSS version 0.92
RSS1_0
RSS version 1.0
RSS2_0
RSS version 2.0
Implementations§
Trait Implementations§
Source§impl Clone for RssVersion
impl Clone for RssVersion
Source§fn clone(&self) -> RssVersion
fn clone(&self) -> RssVersion
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 RssVersion
impl Debug for RssVersion
Source§impl Default for RssVersion
impl Default for RssVersion
Source§impl<'de> Deserialize<'de> for RssVersion
impl<'de> Deserialize<'de> for RssVersion
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 RssVersion
impl Display for RssVersion
Source§impl FromStr for RssVersion
impl FromStr for RssVersion
Source§impl Hash for RssVersion
impl Hash for RssVersion
Source§impl PartialEq for RssVersion
impl PartialEq for RssVersion
Source§impl Serialize for RssVersion
impl Serialize for RssVersion
impl Copy for RssVersion
impl Eq for RssVersion
impl StructuralPartialEq for RssVersion
Auto Trait Implementations§
impl Freeze for RssVersion
impl RefUnwindSafe for RssVersion
impl Send for RssVersion
impl Sync for RssVersion
impl Unpin for RssVersion
impl UnwindSafe for RssVersion
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