From f7d6ff67ee3df850359369d9b5199649f4f3d4a2 Mon Sep 17 00:00:00 2001 From: Mark Lee Date: Thu, 31 Dec 2015 11:35:55 -0800 Subject: [PATCH] docs(headers): add docs for ExtendedValue members --- src/header/parsing.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/header/parsing.rs b/src/header/parsing.rs index 9389f84f..49029b58 100644 --- a/src/header/parsing.rs +++ b/src/header/parsing.rs @@ -58,8 +58,11 @@ pub fn fmt_comma_delimited(f: &mut fmt::Formatter, parts: &[T]) -> f /// a language), as defined in [RFC 5987](https://tools.ietf.org/html/rfc5987#section-3.2). #[derive(Clone, Debug, PartialEq)] pub struct ExtendedValue { + /// The character set that is used to encode the `value` to a string. pub charset: Charset, + /// The human language details of the `value`, if available. pub language_tag: Option, + /// The parameter value, as expressed in octets. pub value: Vec, }