mail-parser 0.11.2

Fast and robust e-mail parsing library for Rust
Documentation
{
  "html_body": [],
  "text_body": [],
  "attachments": [
    0
  ],
  "parts": [
    {
      "headers": [
        {
          "name": "content_type",
          "value": {
            "ContentType": {
              "c_type": "message",
              "c_subtype": "rfc822",
              "attributes": null
            }
          },
          "offset_field": 0,
          "offset_start": 13,
          "offset_end": 29
        }
      ],
      "is_encoding_problem": false,
      "body": {
        "Message": {
          "html_body": [],
          "text_body": [],
          "attachments": [
            0
          ],
          "parts": [
            {
              "headers": [
                {
                  "name": "content_type",
                  "value": {
                    "ContentType": {
                      "c_type": "message",
                      "c_subtype": "rfc822",
                      "attributes": null
                    }
                  },
                  "offset_field": 30,
                  "offset_start": 43,
                  "offset_end": 59
                }
              ],
              "is_encoding_problem": false,
              "body": {
                "Message": {
                  "html_body": [
                    0
                  ],
                  "text_body": [
                    0
                  ],
                  "attachments": [],
                  "parts": [
                    {
                      "headers": [
                        {
                          "name": "content_type",
                          "value": {
                            "ContentType": {
                              "c_type": "text",
                              "c_subtype": "plain",
                              "attributes": null
                            }
                          },
                          "offset_field": 60,
                          "offset_start": 73,
                          "offset_end": 85
                        }
                      ],
                      "is_encoding_problem": false,
                      "body": {
                        "Text": "1\n"
                      },
                      "offset_header": 60,
                      "offset_body": 86,
                      "offset_end": 88
                    }
                  ]
                }
              },
              "offset_header": 30,
              "offset_body": 60,
              "offset_end": 88
            }
          ]
        }
      },
      "offset_header": 0,
      "offset_body": 30,
      "offset_end": 88
    }
  ]
}