Struct html5ever::driver::BytesOpts
[−]
[src]
pub struct BytesOpts {
pub transport_layer_encoding: Option<EncodingRef>,
}Options for choosing a character encoding
Fields
transport_layer_encoding: Option<EncodingRef>
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]
fn clone(&self) -> BytesOpts
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more