mail-parser 0.11.2

Fast and robust e-mail parsing library for Rust
Documentation
{
  "html_body": [],
  "text_body": [],
  "attachments": [
    2
  ],
  "parts": [
    {
      "headers": [
        {
          "name": "content_type",
          "value": {
            "ContentType": {
              "c_type": "multipart",
              "c_subtype": "mixed",
              "attributes": [
                {
                  "name": "boundary",
                  "value": "a"
                }
              ]
            }
          },
          "offset_field": 0,
          "offset_start": 13,
          "offset_end": 44
        }
      ],
      "is_encoding_problem": false,
      "body": {
        "Multipart": [
          1
        ]
      },
      "offset_header": 0,
      "offset_body": 45,
      "offset_end": 131
    },
    {
      "headers": [
        {
          "name": "content_type",
          "value": {
            "ContentType": {
              "c_type": "multipart",
              "c_subtype": "mixed",
              "attributes": [
                {
                  "name": "boundary",
                  "value": "ab"
                }
              ]
            }
          },
          "offset_field": 49,
          "offset_start": 62,
          "offset_end": 94
        }
      ],
      "is_encoding_problem": false,
      "body": {
        "Multipart": [
          2
        ]
      },
      "offset_header": 49,
      "offset_body": 95,
      "offset_end": 131
    },
    {
      "headers": [
        {
          "name": "content_type",
          "value": {
            "ContentType": {
              "c_type": "text",
              "c_subtype": "plain",
              "attributes": null
            }
          },
          "offset_field": 100,
          "offset_start": 113,
          "offset_end": 125
        }
      ],
      "is_encoding_problem": true,
      "body": {
        "Text": "body\n"
      },
      "offset_header": 100,
      "offset_body": 126,
      "offset_end": 131
    }
  ]
}