Struct ape::Item [] [src]

pub struct Item {
    pub key: String,
    pub value: ItemValue,
}

Represents an APE Tag Item.

Fields

Item key for accessing special meta-information in an audio file.

APE tag item keys can have a length of 2 (including) up to 255 (including) characters in the range from 0x20 (Space) until 0x7E (Tilde).

Typical keys should have a length of 2 ... 16 characters using the following characters: Space (0x20), Slash (0x2F), Digits (0x30...0x39), Letters (0x41...0x5A, 0x61...0x7A).

Not allowed are the following keys: ID3, TAG, OggS and MP+.

Read the specification for more information.

Represents an APE Item Value

Methods

impl Item
[src]

[src]

Creates an item with Binary value.

[src]

Creates an item with Locator value.

[src]

Creates an item with Text value.

[src]

Sets a new Binary value.

[src]

Sets a new Locator value.

[src]

Sets a new Text value.

[src]

Creates a representation of the item suitable for writing to a file.

Trait Implementations

impl Debug for Item
[src]

[src]

Formats the value using the given formatter.