mail-parser 0.11.2

Fast and robust e-mail parsing library for Rust
Documentation
{
  "html_body": [
    2
  ],
  "text_body": [
    2
  ],
  "attachments": [],
  "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": 46
        }
      ],
      "is_encoding_problem": false,
      "body": {
        "Multipart": [
          1
        ]
      },
      "offset_header": 0,
      "offset_body": 47,
      "offset_end": 189
    },
    {
      "headers": [
        {
          "name": "content_type",
          "value": {
            "ContentType": {
              "c_type": "multipart",
              "c_subtype": "mixed",
              "attributes": [
                {
                  "name": "boundary",
                  "value": "a----"
                }
              ]
            }
          },
          "offset_field": 53,
          "offset_start": 66,
          "offset_end": 101
        }
      ],
      "is_encoding_problem": false,
      "body": {
        "Multipart": [
          2
        ]
      },
      "offset_header": 53,
      "offset_body": 102,
      "offset_end": 181
    },
    {
      "headers": [
        {
          "name": "content_type",
          "value": {
            "ContentType": {
              "c_type": "text",
              "c_subtype": "plain",
              "attributes": null
            }
          },
          "offset_field": 110,
          "offset_start": 123,
          "offset_end": 135
        }
      ],
      "is_encoding_problem": false,
      "body": {
        "Text": "body"
      },
      "offset_header": 110,
      "offset_body": 136,
      "offset_end": 140
    }
  ]
}