Which function to set a structure value?

I would like to change a value in my structure.
Which of the two functions should I use? (Marked red)

The top one for the ease of use.

But in the end it wouldn’t matter as both actually set by ref - note the diamond shaped pin icon.