Enum earth::feed::Text [] [src]

pub enum Text {
    Plain(String),
    Html(String),
}

Text construct defined in :rfc:4287#section-3.1 (section 3.1).

RFC: https://tools.ietf.org/html/rfc4287#section-3.1

Note: It currently does not support xhtml.

Variants

The plain text content. It corresponds to :rfc:4287#section-3.1.1.1 (section 3.1.1.1).

The HTML content. It corresponds to :rfc:4287#section-3.1.1.2 (section 3.1.1.2).

Methods

impl Text
[src]

The type of the text. It corresponds to :rfc:4287#section-3.1.1 (section 3.1.1).

Trait Implementations

impl PartialEq for Text
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Text
[src]

impl Debug for Text
[src]

Formats the value using the given formatter.

impl Default for Text
[src]

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

impl Display for Text
[src]

Formats the value using the given formatter. Read more

impl Blob for Text
[src]

impl FromSchemaReader for Text
[src]

impl Mergeable for Text
[src]

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