Skip to content

add Message::all_parts, leaf_parts, other_parts #108

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

zaz
Copy link

@zaz zaz commented May 4, 2025

Fixes #107.

This seems to work for me, but I'm new to Rust and am not sure if this is the best way to do things. Perhaps adding something in src/core/body.rs with a similar style to the functions there would be more appropriate. In fact, perhaps adding a function or property partition_parts that returns a struct of all the parts would be better. Then, all the other functions could use that.

Thank you for your work on this and please let me know if there's anything more I can do to help!

@zaz zaz changed the title [DRAFT] add Message::all_parts, leaf_parts, other_parts add Message::all_parts, leaf_parts, other_parts May 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add functions to partition the email into parts
1 participant