# Access fields (same as maps)
Field Access: Structs are NOT the same as Maps
The comment "(same as maps)" is misleading.
- Maps: Support both
map.key
andmap[:key]
access - Structs: Only support
struct.key
dot notation - Bracket notation
struct[:key]
is not work with structs