Skip to content

Get the field names of a struct #1110

Closed
@dtolnay

Description

@dtolnay

A question from u.r-l.o: how to get a slice of field names for an arbitrary struct type T?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions