Struct earth::feed::Source [] [src]

pub struct Source {
    pub metadata: Metadata,
    pub subtitle: Option<Text>,
    pub generator: Option<Generator>,
    pub logo: Option<String>,
    pub icon: Option<String>,
}

All metadata for Feed excepting Feed.entries. It corresponds to atom:source element of :rfc:4287#section-4.2.10 (section 4.2.10).

Fields

A text that conveys a human-readable description or subtitle for a feed. It corresponds to atom:subtitle element of :rfc:4287#section-4.2.12 (section 4.2.12).

Identify the agent used to generate a feed, for debugging and other purposes. It corresponds to atom:generator element of :rfc:4287#section-4.2.4 (section 4.2.4).

URI that identifies an image that provides visual identification for a feed. It corresponds to atom:logo element of :rfc:4287#section-4.2.8 (section 4.2.8).

URI that identifies an image that provides iconic visual identification for a feed. It corresponds to atom:icon element of :rfc:4287#section-4.2.5 (section 4.2.5).

Methods

impl Source
[src]

Methods from Deref<Target = Metadata>

Trait Implementations

impl Default for Source
[src]

Returns the "default value" for a type. Read more

impl Deref for Source
[src]

The resulting type after dereferencing

The method called to dereference a value

impl DerefMut for Source
[src]

The method called to mutably dereference a value

impl FromSchemaReader for Source
[src]

impl Mergeable for Source
[src]

Merge data with the given value to renew itself as a latest state. Read more