[][src]Struct feed_rs::model::Generator

pub struct Generator {
    pub content: String,
    pub uri: Option<String>,
    pub version: Option<String>,
}

Information on the tools used to generate the feed

Atom: Identifies the software used to generate the feed, for debugging and other purposes.

Fields

content: String

Atom: Additional data RSS 2: A string indicating the program used to generate the channel.

uri: Option<String>

Atom: Link to the tool

version: Option<String>

Atom: Tool version

Methods

impl Generator[src]

pub fn new(content: String) -> Generator[src]

Trait Implementations

impl Debug for Generator[src]

impl PartialEq<Generator> for Generator[src]

impl StructuralPartialEq for Generator[src]

Auto Trait Implementations

impl RefUnwindSafe for Generator

impl Send for Generator

impl Sync for Generator

impl Unpin for Generator

impl UnwindSafe for Generator

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]