pub enum HeaderRecord {
    Filter {
        key: String,
        values: LinearMap<String, String>,
    },
    Info {
        key: String,
        values: LinearMap<String, String>,
    },
    Format {
        key: String,
        values: LinearMap<String, String>,
    },
    Contig {
        key: String,
        values: LinearMap<String, String>,
    },
    Structured {
        key: String,
        values: LinearMap<String, String>,
    },
    Generic {
        key: String,
        value: String,
    },
}
Expand description

A header record.

Variants

Filter

Fields

key: String

A FILTER header record.

Info

Fields

key: String

An INFO header record.

Format

Fields

key: String

A FORMAT header record.

Contig

Fields

key: String

A contig header record.

Structured

Fields

key: String

A structured header record.

Generic

Fields

key: String
value: String

A generic, unstructured header record.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.