# tff.structure.name_list

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/federated/blob/v0.87.0 Version 2.0, January 2004 Licensed under the Apache License, Version 2.0 (the) |

Returns a `list` of the names of the named fields in `struct`.

    tff.structure.name_list(
        struct: https://www.tensorflow.org/federated/api_docs/python/tff/structure/Struct
    ) -> list[str]

<br />

<br />

<br />

| ## Args ||
|---|---|
| `struct` | An instance of `Struct`. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| The list of string names for the fields that are named. Names appear in order, skipping names that are `None`. ||

<br />