Skip to content

Add Structable::get for accessing fields-by-name. - #102

Open
jswrenn wants to merge 1 commit into
tokio-rs:masterfrom
jswrenn:structable-get
Open

Add Structable::get for accessing fields-by-name.#102
jswrenn wants to merge 1 commit into
tokio-rs:masterfrom
jswrenn:structable-get

Conversation

@jswrenn

@jswrenn jswrenn commented Aug 30, 2022

Copy link
Copy Markdown

BREAKING!

Adds get method to Structable for getting the Value of a field by name. Also introduces Field enum, so that get works for both positional and named fields.

@jswrenn

jswrenn commented Aug 30, 2022

Copy link
Copy Markdown
Author

(This needs some additional testing before it's ready to be merged.)

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.

1 participant