struct:字段、更新语法与 methodRuststruct用 User 组织数据,理解字段访问与 partial move,再用 impl 编写 method 和 associated function。2026-03-08教程 · Ruststruct:字段、更新语法与 methodS