I would like to ask for clarification about optional attributes in structs. What is the difference between
Which is recommended in which situation? Are they different concepts or do they solve the same (or similar) problem? Or does one API supersede the other, possibly?