How can I assign a value to a structure instance?

I have a structure instance and in it, it has a variable for the player name. That player name is a text variable. When I input text in a widget blueprint, I want the text that has been typed into the input box to be the players name. How can I set what has been typed into input box and set that to the name variable variable?

This is what I have done so far:

Technically you do not need an extra variable, a struct is enough. The Editable Text widget allows you punch in text and commit it:

Expose members of the struct to pipe in data and then apply it to the text block. Alternatively, a text block can property bind directly to a struct member:

But this is not as great as it sounds since polling happens every frame and you cannot really decorate it.