Struct libflate::gzip::ExtraField [] [src]

pub struct ExtraField {
    pub id: [u8; 2],
    pub data: Vec<u8>,
}

Extra field of a GZIP header.

Fields

ID of the extra field.

Data of the extra field.

Trait Implementations

impl Debug for ExtraField
[src]

Formats the value using the given formatter.

impl Clone for ExtraField
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for ExtraField
[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 ExtraField
[src]

impl Hash for ExtraField
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.