Struct html5ever::driver::BytesOpts [] [src]

pub struct BytesOpts {
    pub transport_layer_encoding: Option<EncodingRef>,
}

Options for choosing a character encoding

Fields

The character encoding specified by the transport layer, if any. In HTTP for example, this is the charset parameter of the Content-Type response header.

Trait Implementations

impl Clone for BytesOpts
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for BytesOpts
[src]

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