# Documenting elements of a struct

**URL:** <https://discourse.julialang.org/t/documenting-elements-of-a-struct/64769>\
**Category:** New to Julia\
**Tags:** documenter, struct\
**Created:** [July 16, 2021, 7:32pm UTC](https://discourse.julialang.org/t/documenting-elements-of-a-struct/64769 "2021-07-16T19:32:46Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jzr](https://avatars.discourse-cdn.com/v4/letter/j/eb9ed0/32.png) [@jzr](https://discourse.julialang.org/u/jzr)\
**Post date:** [July 16, 2021, 8:01pm UTC](https://discourse.julialang.org/t/documenting-elements-of-a-struct/64769/2 "2021-07-16T20:01:56Z")

</div>

Fwiw some people feel that struct properties should be considered private and shouldn’t be publicly documented, preferring accessor functions instead.

---

_[View the full topic](https://discourse.julialang.org/t/documenting-elements-of-a-struct/64769)._
