[][src]Struct feed_rs::model::Category

pub struct Category {
    pub term: String,
    pub scheme: Option<String>,
    pub label: Option<String>,
}

Represents the category of a feed or entry

Fields

term: String

The category as a human readable string

scheme: Option<String>

Atom (optional): Identifies the categorization scheme via a URI.

label: Option<String>

Atom (optional): Provides a human-readable label for display.

Methods

impl Category[src]

pub fn new(term: String) -> Category[src]

Trait Implementations

impl Debug for Category[src]

impl PartialEq<Category> for Category[src]

impl StructuralPartialEq for Category[src]

Auto Trait Implementations

impl RefUnwindSafe for Category

impl Send for Category

impl Sync for Category

impl Unpin for Category

impl UnwindSafe for Category

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]