Struct hyper::header::Language
[−]
[src]
pub struct Language { pub primary: String, pub sub: Option<String>, }
A language tag. See http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.10
Note: This is no complete language tag implementation, it should be replaced with github.com/pyfisch/rust-language-tag once it is ready.
Fields
primary | The language tag |
sub | A language subtag or country code |