pub enum KnownClass {
Entry,
Cite,
Card,
Feed,
Event,
Product,
Adr,
Geo,
Resume,
Review,
Recipe,
}Expand description
Standard microformats2 class types recognized by this library.
Variants§
Entry
A syndicatable piece of content.
Cite
A reference to another piece of content.
Card
A person, organization, or venue.
Feed
A stream of entries.
Event
An event with a date, time, and location.
Product
A product for sale or review.
Adr
An address (street, city, etc.).
Geo
Geographic coordinates.
Resume
A resume or CV.
Review
A review of something.
Recipe
A recipe.
Trait Implementations§
Source§impl Clone for KnownClass
impl Clone for KnownClass
Source§fn clone(&self) -> KnownClass
fn clone(&self) -> KnownClass
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 KnownClass
impl Debug for KnownClass
Source§impl<'de> Deserialize<'de> for KnownClass
impl<'de> Deserialize<'de> for KnownClass
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 KnownClass
impl Display for KnownClass
Source§impl From<KnownClass> for Class
impl From<KnownClass> for Class
Source§fn from(kc: KnownClass) -> Self
fn from(kc: KnownClass) -> Self
Converts to this type from the input type.
Source§impl FromStr for KnownClass
impl FromStr for KnownClass
Source§impl Ord for KnownClass
impl Ord for KnownClass
Source§fn cmp(&self, other: &KnownClass) -> Ordering
fn cmp(&self, other: &KnownClass) -> 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 KnownClass
impl PartialEq for KnownClass
Source§impl PartialOrd for KnownClass
impl PartialOrd for KnownClass
Source§impl Serialize for KnownClass
impl Serialize for KnownClass
impl Eq for KnownClass
impl StructuralPartialEq for KnownClass
Auto Trait Implementations§
impl Freeze for KnownClass
impl RefUnwindSafe for KnownClass
impl Send for KnownClass
impl Sync for KnownClass
impl Unpin for KnownClass
impl UnsafeUnpin for KnownClass
impl UnwindSafe for KnownClass
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.