Enum id3::Content [] [src]

pub enum Content {
    Text(String),
    ExtendedText(ExtendedText),
    Link(String),
    ExtendedLink(ExtendedLink),
    Comment(Comment),
    Lyrics(Lyrics),
    Picture(Picture),
    Unknown(Vec<u8>),
}

The decoded contents of a frame.

Variants

A value containing the parsed contents of a text frame.

A value containing the parsed contents of a user defined text frame (TXXX).

A value containing the parsed contents of a web link frame.

A value containing the parsed contents of a user defined web link frame (WXXX).

A value containing the parsed contents of a comment frame (COMM).

A value containing the parsed contents of a lyrics frame (USLT).

A value containing the parsed contents of a picture frame (APIC).

A value containing the bytes of a unknown frame.

Methods

impl Content
[src]

[src]

Returns the Text or None if the value is not Text.

[src]

Returns the ExtendedText or None if the value is not ExtendedText.

Returns the Link or None if the value is not Link.

Returns the ExtendedLink or None if the value is not ExtendedLink.

[src]

Returns the Comment or None if the value is not Comment.

[src]

Returns the Lyrics or None if the value is not Lyrics.

[src]

Returns the Picture or None if the value is not Picture.

[src]

Returns the Unknown or None if the value is not Unknown.

Trait Implementations

impl Clone for Content
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Content
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Content
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for Content
[src]

impl Hash for Content
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more