# How do you indicate that a field should be private?

**URL:** <https://discourse.julialang.org/t/how-do-you-indicate-that-a-field-should-be-private/65339>\
**Category:** General Usage\
**Created:** [July 27, 2021, 2:40am UTC](https://discourse.julialang.org/t/how-do-you-indicate-that-a-field-should-be-private/65339 "2021-07-27T02:40:21Z")\
**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 27, 2021, 2:41am UTC](https://discourse.julialang.org/t/how-do-you-indicate-that-a-field-should-be-private/65339/2 "2021-07-27T02:41:21Z")

</div>

Some people consider all fields private by default. See [Documenting elements of a struct](https://discourse.julialang.org/t/documenting-elements-of-a-struct/64769)

---

_[View the full topic](https://discourse.julialang.org/t/how-do-you-indicate-that-a-field-should-be-private/65339)._
