diff options
author | Kartikaya Gupta <kats@seldon.staktrace.com> | 2017-10-14 00:16:08 -0400 |
---|---|---|
committer | Kartikaya Gupta <kats@seldon.staktrace.com> | 2017-10-14 00:16:08 -0400 |
commit | ed032333a1bde0498d46132609330a9f92a52ab1 (patch) | |
tree | 7deac9b2a92123de7f1985231632162bffebb36b /src | |
parent | 24a48fbc89c4aedbd3b1a7fd785e0e9c226174ba (diff) |
Add missing function doc
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -719,6 +719,11 @@ impl<'a> ParsedMail<'a> { Ok(decoded) } + /// Returns a struct containing a parsed representation of the + /// Content-Disposition header. The first header with this name + /// is used, if there are multiple. See the `parse_content_disposition` + /// method documentation for more details on the semantics of the + /// returned object. pub fn get_content_disposition(&self) -> Result<ParsedContentDisposition, MailParseError> { let disposition = self.headers .get_first_value("Content-Disposition")? |